diff --git a/slpkg/binary/dependency.py b/slpkg/binary/dependency.py index 7bfd2f82..6d4f539e 100644 --- a/slpkg/binary/dependency.py +++ b/slpkg/binary/dependency.py @@ -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 = [] diff --git a/slpkg/binary/install.py b/slpkg/binary/install.py index 1a985d49..373faedc 100644 --- a/slpkg/binary/install.py +++ b/slpkg/binary/install.py @@ -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)