From dfec86d1a288a2319d287d754c0032d2ee5be75b Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 1 Apr 2011 11:06:20 +0000 Subject: [PATCH] temporary hack to fix squeeze-updates / stable-updates suite name Signed-off-by: Mark Hymers --- dak/generate_releases.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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())))) -- 2.39.5