Skip to content

Commit

Permalink
gyp: fix sntex error
Browse files Browse the repository at this point in the history
PR-URL: #1333
Reviewed-By: Refael Ackermann <refack@gmail.com>
  • Loading branch information
cclauss authored and rvagg committed Apr 24, 2019
1 parent 588d333 commit febdfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gyp/pylib/gyp/mac_tool.py
Expand Up @@ -127,7 +127,7 @@ def _DetectInputEncoding(self, file_name):
fp = open(file_name, 'rb')
try:
header = fp.read(3)
except e:
except Exception:
fp.close()
return None
fp.close()
Expand Down

0 comments on commit febdfa2

Please sign in to comment.