diff options
author | 2018-01-21 16:12:41 +0100 | |
---|---|---|
committer | 2018-01-21 16:12:41 +0100 | |
commit | 1a265f38ed4a481f9744955086d64b51bd3232c2 (patch) | |
tree | b83c381816cd6e188daf16bd4cd9590da422d2a7 | |
parent | Fix invalid "@@ARCH" reference in template (diff) | |
download | tatt-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/updatebug | 3 |
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' |