]> git.decadent.org.uk Git - dak.git/commitdiff
dak/generate_releases.py: also add the ugly hack for wheezy-updates
authorAnsgar Burchardt <ansgar@debian.org>
Wed, 10 Oct 2012 16:50:41 +0000 (18:50 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Wed, 10 Oct 2012 16:50:41 +0000 (18:50 +0200)
dak/generate_releases.py

index 72fb4304e1b99571e05bcebc5789b9a7ab1c1cd6..8d3635e2e2b9fb611ed4784befc1d39d26a3f21a 100755 (executable)
@@ -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)))