]> git.decadent.org.uk Git - dak.git/blobdiff - dak/generate_releases.py
Merge remote branch 'ftpmaster/master' into multiproc
[dak.git] / dak / generate_releases.py
index 8befbc995a1bd601409ca475c77ff201a40b1657..3006364602517c17466c075afa82efc0ee7fed56 100755 (executable)
@@ -152,7 +152,11 @@ class ReleaseWriter(object):
 
         for key, dbfield in attribs:
             if getattr(suite, dbfield) is not None:
-                out.write("%s: %s\n" % (key, getattr(suite, dbfield)))
+                # 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")
+                else:
+                    out.write("%s: %s\n" % (key, getattr(suite, dbfield)))
 
         out.write("Date: %s\n" % (time.strftime("%a, %d %b %Y %H:%M:%S UTC", time.gmtime(time.time()))))