mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Fix replaceFileIfMissing return value.
This commit is contained in:
parent
34a35054e9
commit
525fdd431d
1 changed files with 2 additions and 0 deletions
|
@ -39,6 +39,8 @@ def replaceFileIfChanged(filename, newContents):
|
||||||
f.write(newContents)
|
f.write(newContents)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
return True
|
||||||
|
|
||||||
def toStringBool(arg):
|
def toStringBool(arg):
|
||||||
return str(not not arg).lower()
|
return str(not not arg).lower()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue