From: Mark Hymers Date: Fri, 1 Apr 2011 11:06:20 +0000 (+0000) Subject: temporary hack to fix squeeze-updates / stable-updates suite name X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=dfec86d1a288a2319d287d754c0032d2ee5be75b;p=dak.git temporary hack to fix squeeze-updates / stable-updates suite name Signed-off-by: Mark Hymers --- diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 7f5a9963..91d87072 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -158,7 +158,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()))))