Skip to content

Commit 6374360

Browse files
committed
Remove Python 2 comments as we no longer support it
1 parent 4ddd4ca commit 6374360

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
class BuildFailed(Exception):
4343
def __init__(self):
44-
self.cause = sys.exc_info()[1] # work around py 2/3 different syntax
44+
self.cause = sys.exc_info()[1]
4545

4646

4747
class ve_build_ext(build_ext):
@@ -60,7 +60,7 @@ def build_extension(self, ext):
6060
raise BuildFailed()
6161
except ValueError:
6262
# 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
63+
if "'path'" in str(sys.exc_info()[1]):
6464
raise BuildFailed()
6565
raise
6666

0 commit comments

Comments
 (0)