flake8: wrap overly long lines

Signed-off-by: Nils Philippsen <nils@redhat.com>
This commit is contained in:
Nils Philippsen 2019-12-18 15:38:20 +01:00
parent fcbb4eea2c
commit 46ce635179

View file

@ -434,12 +434,11 @@ class BugzillaProxy:
old_value = f"from `{from_fas_names}`"
else:
old_value = ""
print(
f"[EDITCOMP] {data['product']}/{data['component']} {key} changed {old_value}"
f" to FAS name(s) `{new_value}`")
print(f"[EDITCOMP] {data['product']}/{data['component']}"
f" {key} changed {old_value} to FAS name(s) `{new_value}`")
else:
print(
f"[EDITCOMP] {data['product']}/{data['component']} {key} changed from `{old_value}` to `{new_value}`")
print(f"[EDITCOMP] {data['product']}/{data['component']}"
f" {key} changed from `{old_value}` to `{new_value}`")
owner_changed = "initialowner" in data
@ -517,9 +516,11 @@ class BugzillaProxy:
value = qacontact
else:
value = initial_cc_fasnames
print(f"[ADDCOMP] {bz_product_name}/{package} {key} set to FAS name(s) `{value}`")
print(f"[ADDCOMP] {bz_product_name}/{package}"
f" {key} set to FAS name(s) `{value}`")
else:
print(f"[ADDCOMP] {bz_product_name}/{package} {key} set to {data.get(key)}")
print(f"[ADDCOMP] {bz_product_name}/{package}"
f" {key} set to {data.get(key)}")
def add_component(data, num_attempts=5):
for i in range(num_attempts):