diff options
| author | Robert Bruce Park <robert.park@canonical.com> | 2017-03-09 18:39:19 (GMT) |
|---|---|---|
| committer | Robert Bruce Park <robert.park@canonical.com> | 2017-03-09 18:39:19 (GMT) |
| commit | 80d363ffcfa4f4e045a17e6647f0df38001d8f6f (patch) | |
| tree | efca77b986f59b9aeecbaf29590cb3db025ac8aa | |
| parent | 9a32ef781fc812bb7cf24c293233cabc2a4c7240 (diff) | |
Stop returning None.
| -rw-r--r-- | britney2/policies/email.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/britney2/policies/email.py b/britney2/policies/email.py index f335064..f527805 100644 --- a/britney2/policies/email.py +++ b/britney2/policies/email.py @@ -148,7 +148,7 @@ class EmailPolicy(BasePolicy, Rest): # which is expected to happen when bileto runs britney. except IndexError: self.log('Email getPublishedSources IndexError (%s %s)' % (pkg, version)) - return None + return [] return self.scrape_gpg_emails(person_chooser(source)) def apply_policy_impl(self, email_info, suite, source_name, source_data_tdist, source_data_srcdist, excuse): |
