mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 15:41:09 +00:00
Avoid unnecessary "elif" after "continue"
Address pylint's no-else-continue.
This commit is contained in:
parent
3bc802a209
commit
e7ba650414
@ -47,13 +47,13 @@ def claim_excuses_bug(launchpad, bug, package):
|
||||
if task.bug_target_name == f"{package} ({series})":
|
||||
our_task = task
|
||||
break
|
||||
elif task.bug_target_name == f"{package} (Ubuntu)":
|
||||
if task.bug_target_name == f"{package} (Ubuntu)":
|
||||
our_task = task
|
||||
|
||||
if our_task.assignee == launchpad.me:
|
||||
print("Bug already assigned to you.")
|
||||
return True
|
||||
elif our_task.assignee:
|
||||
if our_task.assignee:
|
||||
print(f"Currently assigned to {our_task.assignee.name}")
|
||||
|
||||
print("""Do you want to claim this bug? [yN] """, end="")
|
||||
|
@ -453,7 +453,7 @@ class PullPkg:
|
||||
if key.startswith("vcs-"):
|
||||
if key == "vcs-browser":
|
||||
continue
|
||||
elif key == "vcs-git":
|
||||
if key == "vcs-git":
|
||||
vcs = "Git"
|
||||
elif key == "vcs-bzr":
|
||||
vcs = "Bazaar"
|
||||
|
Loading…
x
Reference in New Issue
Block a user