python needs some consistency in default file modes...

pull/16/head
Sebastien Bourdeauducq 2019-02-18 23:58:23 +08:00
parent 89fcf26b17
commit e160e83ca8
1 changed files with 1 additions and 1 deletions

View File

@ -10,4 +10,4 @@ drv = drv[len("/nix/store/"):]
hydra_log = "/var/lib/hydra/build-logs/" + drv[:2] + "/" + drv[2:]
with open(hydra_log, "w") as f:
f.write(b"hack successful")
f.write("hack successful")