We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ddd4ca commit 6374360Copy full SHA for 6374360
setup.py
@@ -41,7 +41,7 @@
41
42
class BuildFailed(Exception):
43
def __init__(self):
44
- self.cause = sys.exc_info()[1] # work around py 2/3 different syntax
+ self.cause = sys.exc_info()[1]
45
46
47
class ve_build_ext(build_ext):
@@ -60,7 +60,7 @@ def build_extension(self, ext):
60
raise BuildFailed()
61
except ValueError:
62
# this can happen on Windows 64 bit, see Python issue 7511
63
- if "'path'" in str(sys.exc_info()[1]): # works with both py 2/3
+ if "'path'" in str(sys.exc_info()[1]):
64
65
raise
66
0 commit comments