Commit db9adc65 authored by Fred Drake's avatar Fred Drake

When guarding an import, only catch ImportError.

parent 4ffb8743
...@@ -533,7 +533,7 @@ if __name__ == '__main__': ...@@ -533,7 +533,7 @@ if __name__ == '__main__':
import cmd import cmd
try: try:
import readline import readline
except: except ImportError:
pass pass
class ProfileBrowser(cmd.Cmd): class ProfileBrowser(cmd.Cmd):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment