aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2018-01-21 16:12:41 +0100
committerRolf Eike Beer <eike@sf-mail.de>2018-01-21 16:12:41 +0100
commit1a265f38ed4a481f9744955086d64b51bd3232c2 (patch)
treeb83c381816cd6e188daf16bd4cd9590da422d2a7
parentFix invalid "@@ARCH" reference in template (diff)
downloadtatt-1a265f38ed4a481f9744955086d64b51bd3232c2.tar.gz
tatt-1a265f38ed4a481f9744955086d64b51bd3232c2.tar.bz2
tatt-1a265f38ed4a481f9744955086d64b51bd3232c2.zip
only try to remove arch from bugzilla CC if it is there
-rw-r--r--templates/updatebug3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/updatebug b/templates/updatebug
index e11d927..24f8463 100644
--- a/templates/updatebug
+++ b/templates/updatebug
@@ -38,7 +38,8 @@ 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.
params['cc'] = {}
- params['cc']['remove'] = ['@@ARCH@@@gentoo.org']
+ 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'