Ansgar pushed to branch master at Debian FTP Team / dak
Commits:
-
9d9ca0c2
by Ansgar at 2020-10-31T20:01:42+01:00
1 changed file:
Changes:
... | ... | @@ -241,7 +241,7 @@ Fingerprint: %s""" % (time.strftime("%Y-%m-%d %H:%M:%S", time.gmtime(time.time() |
241 | 241 |
print(fields, file=f)
|
242 | 242 |
encoded = six.text_type(u[6]).encode('utf-8')
|
243 | 243 |
print(encoded.rstrip(), file=f)
|
244 |
- open(os.path.join(Cnf["Show-Deferred::LinkPath"], u[1]), "w").write(encoded + fields + '\n')
|
|
244 |
+ open(os.path.join(Cnf["Show-Deferred::LinkPath"], u[1]), "wb").write(encoded + fields + b'\n')
|
|
245 | 245 |
print(file=f)
|
246 | 246 |
f.close()
|
247 | 247 |
os.rename(os.path.join(Cnf["Show-Deferred::LinkPath"], '.status.tmp'),
|