Submitter | phabricator |
---|---|
Date | Feb. 4, 2019, 11:38 p.m. |
Message ID | <f4db80ad3e9fb3a0087df1e1c0ddd91f@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/38419/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/contrib/check-py3-compat.py b/contrib/check-py3-compat.py --- a/contrib/check-py3-compat.py +++ b/contrib/check-py3-compat.py @@ -45,7 +45,7 @@ content = fh.read() try: - ast.parse(content) + ast.parse(content, filename=f) except SyntaxError as e: print('%s: invalid syntax: %s' % (f, e)) return