diff --git a/distgit_bugzilla_sync/script.py b/distgit_bugzilla_sync/script.py index 2915bc4..83cd92b 100644 --- a/distgit_bugzilla_sync/script.py +++ b/distgit_bugzilla_sync/script.py @@ -501,7 +501,6 @@ class DistgitBugzillaSync: _namespace_to_product = None _product_to_branch_regex = None _branch_regex_to_product = None - errors = collections.defaultdict(list) def send_email(self, from_address, to_address, subject, message, cc_address=None): '''Send an email if there's an error. @@ -849,7 +848,7 @@ class DistgitBugzillaSync: self.env["print-no-change"] = self.args.print_no_change # Non-fatal errors to alert people about - errors = [] + self.errors = collections.defaultdict(list) self.session = retry_session()