Apply Python 3 futurize transform libmodernize.fixes.fix_file

Refer to #256
This commit is contained in:
Eklavya Sharma 2016-03-10 22:48:37 +05:30 committed by Tim Abbott
parent 6e69c1447a
commit ab2692b217
3 changed files with 10 additions and 10 deletions

View file

@ -59,7 +59,7 @@ if __name__ == "__main__":
if public_streams is None:
continue
f = file("/home/zulip/public_streams.tmp", "w")
f = open("/home/zulip/public_streams.tmp", "w")
f.write(simplejson.dumps(list(public_streams)) + "\n")
f.close()