mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
don't use a catch-all
This commit is contained in:
parent
7fb00ad1be
commit
adc93b9499
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ import sys, os, re, getopt
|
|||
# our pysource module finds Python source files
|
||||
try:
|
||||
import pysource
|
||||
except:
|
||||
except ImportError:
|
||||
# emulate the module with a simple os.walk
|
||||
class pysource:
|
||||
has_python_ext = looks_like_python = can_be_compiled = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue