mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-17 06:11:35 +01:00
Rename varliable
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
39a1ea7d26
commit
01813ad3c1
1 changed files with 3 additions and 3 deletions
|
@ -74,9 +74,9 @@ class BinaryInstall(object):
|
|||
self.msg.reading()
|
||||
self.PACKAGES_TXT, self.mirror = RepoInit(self.repo).fetch()
|
||||
self.data = repo_data(self.PACKAGES_TXT, self.repo, self.flag)
|
||||
self.names = []
|
||||
self.repo_pkg_names = []
|
||||
for name in self.data[0]:
|
||||
self.names.append(split_package(name)[0])
|
||||
self.repo_pkg_names.append(split_package(name)[0])
|
||||
self.blacklist = BlackList().packages(self.data[0], self.repo)
|
||||
|
||||
def start(self, is_upgrade):
|
||||
|
@ -266,7 +266,7 @@ class BinaryInstall(object):
|
|||
"""
|
||||
requires = []
|
||||
for dep in dependencies:
|
||||
if dep in self.names:
|
||||
if dep in self.repo_pkg_names:
|
||||
requires.append(dep)
|
||||
return requires
|
||||
|
||||
|
|
Loading…
Reference in a new issue