This commit is contained in:
Stefano Rivera 2011-05-30 15:55:15 +02:00
parent 1c248875b4
commit 6aee8410eb
2 changed files with 4 additions and 0 deletions

View File

@ -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:

View File

@ -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