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 refack committed Oct 14, 2018
1 parent ef8b60a commit ae0be87
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 ae0be87

Please sign in to comment.