update class

This commit is contained in:
Dimitris Zlatanidis 2015-04-14 03:58:23 +03:00
parent 592aa1c449
commit 3f26530ea0

View file

@ -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