DO not try to check icons for \r
parent
5278a41252
commit
8958667a43
|
@ -10,7 +10,7 @@ files = subprocess.Popen(['hg', 'log', '-r', 'tip', '--template', '{files}'],
|
|||
status = 0
|
||||
|
||||
for name in files:
|
||||
if not os.path.exists(name) or name in ['dist/mac/medit.icns']:
|
||||
if not os.path.exists(name) or name.endswith('.icns') or name.endswith('.png'):
|
||||
continue
|
||||
f = open(name, 'rb')
|
||||
if '\r' in f.read():
|
||||
|
|
Loading…
Reference in New Issue