From 3f26530ea0e9aea5deec137657c316ded4e3ae48 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 14 Apr 2015 03:58:23 +0300 Subject: [PATCH] update class --- slpkg/binary/install.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slpkg/binary/install.py b/slpkg/binary/install.py index 39bc1f07..22c0b028 100644 --- a/slpkg/binary/install.py +++ b/slpkg/binary/install.py @@ -59,6 +59,7 @@ class BinaryInstall(object): self.comp_sum, self.dep_comp_sum = [], [] self.uncomp_sum, self.dep_uncomp_sum = [], [] self.dependencies = [] + self.pkg_ver = [] self.deps_dict = {} self.answer = '' Msg().reading() @@ -72,7 +73,7 @@ class BinaryInstall(object): ''' try: # fix if packages is for upgrade - self.if_upgrade, self.pkg_ver = if_upgrade, [] + self.if_upgrade = if_upgrade if self.if_upgrade: self.packages, ver = self.packages[0], self.packages[1] self.pkg_ver = ver