Default to no series in update_bug.py
In I128b48d it was assumed that the series variable was already set to a default boolean false value before testing it, but this was not the case. Add that initial false state as a None default. Change-Id: Ifddd9ad150aaec2db375f44f2d62fe69f6684e52
This commit is contained in:
parent
a7215c1e68
commit
b81245f04e
|
@ -206,6 +206,7 @@ def process_bugtask(launchpad, task, git_log, args):
|
|||
"""Apply changes to lp bug tasks, based on hook / branch."""
|
||||
|
||||
bugtask = task.lp_task
|
||||
series = None
|
||||
|
||||
if args.hook == "change-abandoned":
|
||||
add_change_abandoned_message(bugtask, args.change_url,
|
||||
|
|
Loading…
Reference in New Issue