Bug 821324 - actually return a success value from replaceFileIfChanged; r=bz

This commit is contained in:
Nathan Froyd 2012-12-13 11:26:33 -05:00
Родитель 09a15134f5
Коммит a25af0c2e0
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -39,6 +39,7 @@ def replaceFileIfChanged(filename, newContents):
f = open(filename, 'wb')
f.write(newContents)
f.close()
return True
def toStringBool(arg):
return str(not not arg).lower()