[dak/master] Avoid clumsy index/pop with "remove",
---
daklib/utils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/daklib/utils.py b/daklib/utils.py
index 30a469b..5e84c35 100644
--- a/daklib/utils.py
+++ b/daklib/utils.py
@@ -1095,7 +1095,7 @@ def mail_addresses_for_upload(maintainer, changed_by, fingerprint):
# Ensure signer is last if present
try:
- recipients.pop(recipients.index('signer'))
+ recipients.remove('signer')
recipients.append('signer')
except ValueError:
pass
--
2.1.4
Reply to: