Ansgar pushed to branch master at Debian FTP Team / dak
Commits:
-
f6a34341
by 😸 at 2020-09-29T20:09:47+02:00
1 changed file:
Changes:
... | ... | @@ -330,6 +330,7 @@ def genchanges(Options, outdir, oldfile, origfile, maxdiffs=56): |
330 | 330 |
if not os.path.isdir(outdir):
|
331 | 331 |
os.mkdir(outdir)
|
332 | 332 |
|
333 |
+ oldf.seek(0)
|
|
333 | 334 |
with open("{}.gz".format(difffile), "wb") as fh:
|
334 | 335 |
daklib.daksubprocess.check_call(
|
335 | 336 |
"diff --ed - {} | gzip --rsyncable --no-name -c -9".format(newfile), shell=True,
|