- del data_to_apply["milestone"]
+ if 'milestone' in data_to_apply:
+ del data_to_apply["milestone"]
can be written more concisely (and efficiently) as
data_to_apply.pop('milestone', None)
--
https://code.launchpad.net/~sinzui/launchpad/retarget-bug-milestone/+merge/54058
Your team Launchpad code reviewers is requested to review the proposed merge of
lp:~sinzui/launchpad/retarget-bug-milestone into lp:launchpad.
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-reviewers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-reviewers
More help : https://help.launchpad.net/ListHelp