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

Skip to content

Commit 3396d87

Browse files
committed
Fix for when pyparsing isn't present
Conflicts: setupext.py
1 parent 5400c1d commit 3396d87

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
@@ -1077,7 +1077,7 @@ def is_ok(self):
10771077
f = pyparsing.Forward()
10781078
f <<= pyparsing.Literal('a')
10791079
return f is not None
1080-
except:
1080+
except (ImportError, TypeError):
10811081
return False
10821082

10831083
def check(self):

0 commit comments

Comments
 (0)