diff --git a/distgit_bugzilla_sync/script.py b/distgit_bugzilla_sync/script.py index 57337d4..e8fe81f 100644 --- a/distgit_bugzilla_sync/script.py +++ b/distgit_bugzilla_sync/script.py @@ -216,11 +216,11 @@ class BugzillaProxy: '''Add or update a component to have the values specified. ''' # Turn the cclist into something usable by bugzilla - if not cclist or 'people' not in cclist: - initialCCList = list() - else: - initialCCList = [ + initialCCList = list() + if 'people' in cclist: + user_cc = [ self._get_bugzilla_email(cc) for cc in cclist['people']] + initialCCList.extend(user_cc) if 'groups' in cclist: group_cc = [ self._get_bugzilla_email(cc) for cc in cclist['groups']]