From ccaeea46d34c5ff26a9f2a1294c279d51cf5c142 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 25 Jul 2015 22:55:46 +0300 Subject: [PATCH] Updated --- slpkg/binary/install.py | 4 ++-- slpkg/sbo/slackbuild.py | 4 ++-- slpkg/tracking.py | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/slpkg/binary/install.py b/slpkg/binary/install.py index cc85c34a..d2ae7fb6 100644 --- a/slpkg/binary/install.py +++ b/slpkg/binary/install.py @@ -126,7 +126,7 @@ class BinaryInstall(object): self.tmp_path, self.install) ins, upg = self.install_packages() Msg().reference(ins, upg) - self.deps_tree() + self.update_deps() write_deps(self.deps_dict) delete(self.tmp_path, self.install) else: @@ -135,7 +135,7 @@ class BinaryInstall(object): print("") # new line at exit sys.exit(0) - def deps_tree(self): + def update_deps(self): """Update dependencies dictionary with all package """ for dep in self.dependencies: diff --git a/slpkg/sbo/slackbuild.py b/slpkg/sbo/slackbuild.py index 43dcfaf4..f6369db7 100644 --- a/slpkg/sbo/slackbuild.py +++ b/slpkg/sbo/slackbuild.py @@ -132,7 +132,7 @@ class SBoInstall(object): print("") # new line at exit sys.exit(0) - def deps_tree(self): + def update_deps(self): """Update dependencies dictionary with all package """ for dep in self.one_for_all(self.deps): @@ -145,7 +145,7 @@ class SBoInstall(object): if self.master_packages and Msg().answer() in ["y", "Y"]: installs, upgraded = self.build_install() Msg().reference(installs, upgraded) - self.deps_tree() + self.update_deps() write_deps(self.deps_dict) delete(self.build_folder) diff --git a/slpkg/tracking.py b/slpkg/tracking.py index df7c02de..ee6703c5 100644 --- a/slpkg/tracking.py +++ b/slpkg/tracking.py @@ -44,7 +44,6 @@ class TrackingDeps(object): if allready installed and color red if not installed. """ - def __init__(self, name, repo, flag): self.name = name self.repo = repo