mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-07-06 04:21:29 +00:00
ubuntutools/sponsor_patch/main.py: Disable some pylint error.
This commit is contained in:
parent
c8e71cacee
commit
425b9da534
@ -223,7 +223,9 @@ def main(bug_number, build, builder, edit, keyid, lpinstance, update, upload,
|
|||||||
|
|
||||||
launchpad = launchpadlib.launchpad.Launchpad.login_anonymously(
|
launchpad = launchpadlib.launchpad.Launchpad.login_anonymously(
|
||||||
"sponsor-patch", lpinstance)
|
"sponsor-patch", lpinstance)
|
||||||
|
#pylint: disable=E1101
|
||||||
bug = launchpad.bugs[bug_number]
|
bug = launchpad.bugs[bug_number]
|
||||||
|
#pylint: enable=E1101
|
||||||
|
|
||||||
(patch, branch) = get_patch_or_branch(bug)
|
(patch, branch) = get_patch_or_branch(bug)
|
||||||
|
|
||||||
@ -371,7 +373,9 @@ def main(bug_number, build, builder, edit, keyid, lpinstance, update, upload,
|
|||||||
ask_for_manual_fixing()
|
ask_for_manual_fixing()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
#pylint: disable=E1101
|
||||||
ubuntu = launchpad.distributions['ubuntu']
|
ubuntu = launchpad.distributions['ubuntu']
|
||||||
|
#pylint: enable=E1101
|
||||||
devel_series = ubuntu.current_series.name
|
devel_series = ubuntu.current_series.name
|
||||||
supported_series = [series.name for series in ubuntu.series
|
supported_series = [series.name for series in ubuntu.series
|
||||||
if series.active and series.name != devel_series]
|
if series.active and series.name != devel_series]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user