don't use a catch-all

This commit is contained in:
Benjamin Peterson 2008-10-25 23:27:07 +00:00
parent 7fb00ad1be
commit adc93b9499

View file

@ -12,7 +12,7 @@ import sys, os, re, getopt
# our pysource module finds Python source files # our pysource module finds Python source files
try: try:
import pysource import pysource
except: except ImportError:
# emulate the module with a simple os.walk # emulate the module with a simple os.walk
class pysource: class pysource:
has_python_ext = looks_like_python = can_be_compiled = None has_python_ext = looks_like_python = can_be_compiled = None