DO not try to check icons for \r

master
Yevgen Muntyan 2008-08-31 01:40:39 -05:00
parent 5278a41252
commit 8958667a43
1 changed files with 1 additions and 1 deletions

View File

@ -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():