Skip to content

Commit 6cd4dbc

Browse files
author
benjamin.peterson
committed
don't use a catch-all
git-svn-id: http://svn.python.org/projects/python/trunk@67028 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 2410653 commit 6cd4dbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Tools/scripts/findnocoding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# our pysource module finds Python source files
1313
try:
1414
import pysource
15-
except:
15+
except ImportError:
1616
# emulate the module with a simple os.walk
1717
class pysource:
1818
has_python_ext = looks_like_python = can_be_compiled = None

0 commit comments

Comments
 (0)