don't print EDITCOMP messages for every package
Setting data['is_active'] before checking if it's empty makes subsequent code always think things have changed. Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
parent
f01960d719
commit
2da92f250a
1 changed files with 1 additions and 2 deletions
|
@ -346,12 +346,11 @@ class BugzillaProxy:
|
||||||
data['initialcclist'] = initial_cc_emails
|
data['initialcclist'] = initial_cc_emails
|
||||||
break
|
break
|
||||||
|
|
||||||
data["is_active"] = not retired
|
|
||||||
|
|
||||||
if data:
|
if data:
|
||||||
# Changes occurred. Submit a request to change via xmlrpc
|
# Changes occurred. Submit a request to change via xmlrpc
|
||||||
data['product'] = bz_product_name
|
data['product'] = bz_product_name
|
||||||
data['component'] = package
|
data['component'] = package
|
||||||
|
data["is_active"] = not retired
|
||||||
|
|
||||||
if self.config["verbose"]:
|
if self.config["verbose"]:
|
||||||
print(f'[EDITCOMP] {data["product"]}/{data["component"]}')
|
print(f'[EDITCOMP] {data["product"]}/{data["component"]}')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue