changeset 27331 | 35e69407b1ac |
parent 27279 | 40eb385f798f |
child 28475 | ae522fb493d4 |
--- a/contrib/check-py3-compat.py Sat Dec 12 13:23:29 2015 -0500 +++ b/contrib/check-py3-compat.py Sat Dec 12 13:27:31 2015 -0500 @@ -17,6 +17,10 @@ with open(f, 'rb') as fh: content = fh.read() + # Ignore empty files. + if not content.strip(): + return + root = ast.parse(content) futures = set() haveprint = False