[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Drop unnecessary list comprehension.



---
 daklib/utils.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daklib/utils.py b/daklib/utils.py
index c1c12cf..cd15f70 100644
--- a/daklib/utils.py
+++ b/daklib/utils.py
@@ -1113,7 +1113,7 @@ def mail_addresses_for_upload(maintainer, changed_by, fingerprint):
         elif recipient == 'signer':
             fpr_addresses = gpg_get_key_addresses(fingerprint)
             address = fpr_addresses[0] if len(fpr_addresses) > 0 else None
-            if any([x in emails for x in fpr_addresses]):
+            if any(x in emails for x in fpr_addresses):
                 # The signer already gets a copy via another email
                 address = None
         else:
-- 
2.1.4



Reply to: