diff options
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-x | setuptools/command/easy_install.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index c8e0938b..5b7d001d 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -1460,7 +1460,7 @@ def is_python(text, filename='<string>'): "Is this string a valid Python script?" try: compile(text, filename, 'exec') - except SyntaxError: + except (SyntaxError, TypeError): return False else: return True |