mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-06-08 22:41:30 +00:00
Work around pylint bug: http://www.logilab.org/ticket/46273
This commit is contained in:
parent
1c248875b4
commit
6aee8410eb
@ -532,7 +532,10 @@ def rmadison(url, package, suite=None, arch=None):
|
|||||||
if suite:
|
if suite:
|
||||||
suite = suite.replace('-proposed-updates', '-p-u')
|
suite = suite.replace('-proposed-updates', '-p-u')
|
||||||
|
|
||||||
|
# pylint bug: http://www.logilab.org/ticket/46273
|
||||||
|
# pylint: disable=E1103
|
||||||
for line in output.strip().splitlines():
|
for line in output.strip().splitlines():
|
||||||
|
# pylint: enable=E1103
|
||||||
pkg, ver, dist, archs = [x.strip() for x in line.split('|')]
|
pkg, ver, dist, archs = [x.strip() for x in line.split('|')]
|
||||||
comp = 'main'
|
comp = 'main'
|
||||||
if '/' in dist:
|
if '/' in dist:
|
||||||
|
@ -50,6 +50,7 @@ class PylintTestCase(unittest.TestCase):
|
|||||||
|
|
||||||
filtered_out = []
|
filtered_out = []
|
||||||
detected_in = ''
|
detected_in = ''
|
||||||
|
# pylint bug: http://www.logilab.org/ticket/46273
|
||||||
# pylint: disable=E1103
|
# pylint: disable=E1103
|
||||||
for line in out.splitlines():
|
for line in out.splitlines():
|
||||||
# pylint: enable=E1103
|
# pylint: enable=E1103
|
||||||
|
Loading…
x
Reference in New Issue
Block a user