fix pylint W0311

This commit is contained in:
Dimitris Zlatanidis 2015-01-17 12:57:28 +02:00
parent 02f4f088fd
commit f23ff2a518

View file

@ -353,8 +353,7 @@ class OthersInstall(object):
# location = data[1]
# size = data[2]
# unsize = data[3]
data = repo_data(self.PACKAGES_TXT, self.step, self.repo,
self.version)
data = repo_data(self.PACKAGES_TXT, self.step, self.repo, self.version)
for pkg in packages:
for name, loc, comp, uncomp in zip(data[0], data[1], data[2],
data[3]):
@ -365,11 +364,10 @@ class OthersInstall(object):
uncomp_sum.append(uncomp)
if not install:
for pkg in packages:
for name, loc, comp, uncomp in zip(data[0], data[1],
data[2], data[3]):
for name, loc, comp, uncomp in zip(data[0], data[1], data[2],
data[3]):
if pkg in split_package(name)[0] and not self.deps_pass:
dwn.append("{0}{1}/{2}".format(self.mirror, loc,
name))
dwn.append("{0}{1}/{2}".format(self.mirror, loc, name))
install.append(name)
comp_sum.append(comp)
uncomp_sum.append(uncomp)