1
0
Fork 0

python needs some consistency in default file modes...

This commit is contained in:
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:] hydra_log = "/var/lib/hydra/build-logs/" + drv[:2] + "/" + drv[2:]
with open(hydra_log, "w") as f: with open(hydra_log, "w") as f:
f.write(b"hack successful") f.write("hack successful")