From 51964a1cda58d2292b66bc97f594804ed8190d49 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Fri, 2 Mar 2012 21:47:30 +0100 Subject: [PATCH] more pdiff meh increase from 14 to 56 rotations, which should (closes: #601717) Signed-off-by: Joerg Jaspert --- dak/generate_index_diffs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dak/generate_index_diffs.py b/dak/generate_index_diffs.py index 3297c42c..9384c52d 100755 --- a/dak/generate_index_diffs.py +++ b/dak/generate_index_diffs.py @@ -103,7 +103,7 @@ def pipe_file(f, t): t.close() class Updates: - def __init__(self, readpath = None, max = 14): + def __init__(self, readpath = None, max = 56): self.can_path = None self.history = {} self.history_order = [] @@ -196,7 +196,7 @@ def sizesha1(f): sha1sum = apt_pkg.sha1sum(f) return (sha1sum, size) -def genchanges(Options, outdir, oldfile, origfile, maxdiffs = 14): +def genchanges(Options, outdir, oldfile, origfile, maxdiffs = 56): if Options.has_key("NoAct"): return @@ -295,7 +295,7 @@ def main(): Options = Cnf.SubTree("Generate-Index-Diffs::Options") if Options.has_key("Help"): usage() - maxdiffs = Options.get("MaxDiffs::Default", "14") + maxdiffs = Options.get("MaxDiffs::Default", "56") maxpackages = Options.get("MaxDiffs::Packages", maxdiffs) maxcontents = Options.get("MaxDiffs::Contents", maxdiffs) maxsources = Options.get("MaxDiffs::Sources", maxdiffs) -- 2.39.5