commit | f93390a61e0bbd039adde3231850c179022de221 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Thu Oct 14 07:17:44 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Thu Oct 14 07:17:44 2010 +0000 |
tree | f03719f210501e71d056696ddfeadaba7ac28563 | |
parent | 9e7dbc8a708f9f5f29fb527f9e01b1d31a7f09a6 [diff] [blame] |
Remove unused imports.
diff --git a/Lib/pdb.py b/Lib/pdb.py index 9a91af6..a159d4c 100755 --- a/Lib/pdb.py +++ b/Lib/pdb.py
@@ -73,11 +73,9 @@ import dis import os import re -import code import pprint import traceback import inspect -import types class Restart(Exception): @@ -528,7 +526,7 @@ arg = arg[colon+1:].lstrip() try: lineno = int(arg) - except ValueError as msg: + except ValueError: self.error('Bad lineno: %s' % arg) return else: