Update args

This commit is contained in:
Dimitris Zlatanidis 2016-02-24 10:08:15 +02:00
parent ad12b014bc
commit caa4ca6b61
2 changed files with 3 additions and 4 deletions

View file

@ -33,8 +33,7 @@ from slpkg.binary.greps import Requires
class Dependencies(object): class Dependencies(object):
"""Resolving binary dependencies """Resolving binary dependencies
""" """
def __init__(self, PACKAGES_TXT, repo, black): def __init__(self, repo, black):
self.packages = PACKAGES_TXT
self.repo = repo self.repo = repo
self.black = black self.black = black
self.dep_results = [] self.dep_results = []

View file

@ -182,7 +182,7 @@ class BinaryInstall(object):
""" """
for dep in self.dependencies: for dep in self.dependencies:
deps = Utils().dimensional_list(Dependencies( deps = Utils().dimensional_list(Dependencies(
self.PACKAGES_TXT, self.repo, self.blacklist).binary( self.repo, self.blacklist).binary(
dep, self.flag)) dep, self.flag))
self.deps_dict[dep] = deps self.deps_dict[dep] = deps
@ -248,7 +248,7 @@ class BinaryInstall(object):
status(0.05) status(0.05)
dependencies = [] dependencies = []
dependencies = Utils().dimensional_list(Dependencies( dependencies = Utils().dimensional_list(Dependencies(
self.PACKAGES_TXT, self.repo, self.blacklist).binary( self.repo, self.blacklist).binary(
dep, self.flag)) dep, self.flag))
requires += dependencies requires += dependencies
self.deps_dict[dep] = Utils().remove_dbs(dependencies) self.deps_dict[dep] = Utils().remove_dbs(dependencies)