Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 509da9b

Browse files
committed
Fix for when pyparsing isn't present
1 parent 9290f57 commit 509da9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ def is_ok(self):
10991099
f = pyparsing.Forward()
11001100
f <<= pyparsing.Literal('a')
11011101
return f is not None
1102-
except TypeError:
1102+
except ImportError, TypeError:
11031103
return False
11041104

11051105
def check(self):

0 commit comments

Comments
 (0)