Apply Python 3 futurize transform libmodernize.fixes.fix_file
Refer to #256
This commit is contained in:
parent
6e69c1447a
commit
ab2692b217
3 changed files with 10 additions and 10 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue