Merge with 3.4

This commit is contained in:
Zachary Ware 2015-07-21 22:50:43 -05:00
commit d7841ef48b
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ Options: -v verbose (print all checked file names)
print('Checking %s...' % fn)
try:
with open(fn, 'r') as f:
with open(fn, 'r', encoding='utf-8') as f:
lines = list(f)
except (IOError, OSError) as err:
print('%s: cannot open: %s' % (fn, err))