mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-14 00:21:08 +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:
|
||||
suite = suite.replace('-proposed-updates', '-p-u')
|
||||
|
||||
# pylint bug: http://www.logilab.org/ticket/46273
|
||||
# pylint: disable=E1103
|
||||
for line in output.strip().splitlines():
|
||||
# pylint: enable=E1103
|
||||
pkg, ver, dist, archs = [x.strip() for x in line.split('|')]
|
||||
comp = 'main'
|
||||
if '/' in dist:
|
||||
|
@ -50,6 +50,7 @@ class PylintTestCase(unittest.TestCase):
|
||||
|
||||
filtered_out = []
|
||||
detected_in = ''
|
||||
# pylint bug: http://www.logilab.org/ticket/46273
|
||||
# pylint: disable=E1103
|
||||
for line in out.splitlines():
|
||||
# pylint: enable=E1103
|
||||
|
Loading…
x
Reference in New Issue
Block a user