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):
"""Resolving binary dependencies
"""
def __init__(self, PACKAGES_TXT, repo, black):
self.packages = PACKAGES_TXT
def __init__(self, repo, black):
self.repo = repo
self.black = black
self.dep_results = []

View file

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