mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
fix pylint W0311
This commit is contained in:
parent
02f4f088fd
commit
f23ff2a518
1 changed files with 25 additions and 27 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue