X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fgenerate_releases.py;h=798726bb9ec887b2c9c6146415b0a4e06cc7de43;hb=a30a8f74a9a670ad8c47458c989758e7b5dab5a5;hp=72fb4304e1b99571e05bcebc5789b9a7ab1c1cd6;hpb=b79fdbd11acc8e8f4bd1d7a1a001524c645f0714;p=dak.git diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 72fb4304..798726bb 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -156,6 +156,8 @@ class ReleaseWriter(object): # TEMPORARY HACK HACK HACK until we change the way we store the suite names etc if key == 'Suite' and getattr(suite, dbfield) == 'squeeze-updates': out.write("Suite: stable-updates\n") + elif key == 'Suite' and getattr(suite, dbfield) == 'wheezy-updates': + out.write("Suite: testing-updates\n") else: out.write("%s: %s\n" % (key, getattr(suite, dbfield))) @@ -310,6 +312,7 @@ def main (): usage() Logger = daklog.Logger('generate-releases') + pool = DakProcessPool() session = DBConn().session() @@ -330,8 +333,6 @@ def main (): broken=[] - pool = DakProcessPool() - for s in suites: # Setup a multiprocessing Pool. As many workers as we have CPU cores. if s.untouchable and not Options["Force"]: