aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/updatebug8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/updatebug b/templates/updatebug
index 24f8463..548aa06 100644
--- a/templates/updatebug
+++ b/templates/updatebug
@@ -37,14 +37,18 @@ def main():
# We don't close bugs which still have other arches for obvious reasons,
# and security bugs because stabilization is not the last step for them.
+ if '@@NEWKEYWORD@@' == '@@ARCH@@':
+ comment = "@@ARCH@@ stable"
+ else:
+ comment = "@@ARCH@@ keyworded"
params['cc'] = {}
if has_my_arch:
params['cc']['remove'] = ['@@ARCH@@@gentoo.org']
params['comment'] = {}
if has_other_arches or 'Security' in response['product']:
- params['comment']['body'] = '@@ARCH@@ stable'
+ params['comment']['body'] = comment
else:
- params['comment']['body'] = '@@ARCH@@ stable, closing'
+ params['comment']['body'] = comment + ', closing'
params['status'] = 'RESOLVED'
params['resolution'] = 'FIXED'