]> git.decadent.org.uk Git - dak.git/blobdiff - dak/generate_releases.py
Update configuration for wheezy release.
[dak.git] / dak / generate_releases.py
index 21eaac9ebed0ad9d21f71ee03a5fa9c5b1c0ece7..a849f36db0477323d4f7f524aecd252b6dbd0215 100755 (executable)
@@ -156,8 +156,10 @@ class ReleaseWriter(object):
             if getattr(suite, dbfield) is not None:
                 # 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")
+                    out.write("Suite: oldstable-updates\n")
                 elif key == 'Suite' and getattr(suite, dbfield) == 'wheezy-updates':
+                    out.write("Suite: stable-updates\n")
+                elif key == 'Suite' and getattr(suite, dbfield) == 'jessie-updates':
                     out.write("Suite: testing-updates\n")
                 else:
                     out.write("%s: %s\n" % (key, getattr(suite, dbfield)))