Добавлена возможность изменения номеров установленных пакетов

master-3.5 3.5.1_beta2
förälder 3501cbac2d
incheckning 9358b1a4a5

@ -147,6 +147,8 @@ class Update(MethodsInterface):
self.clVars.Get('update.cl_update_rep_path')))
self.update_map = {}
self.refresh_binhost = False
self.pkgnum = None
self.pkgnummax = None
def get_prog_path(self, program_name):
return getProgPath(program_name)
@ -560,6 +562,10 @@ class Update(MethodsInterface):
"""
self.endTask()
_print = self.color_print
if self.pkgnum is not None:
num = self.pkgnum
if self.pkgnummax is not None:
max_num = self.pkgnummax
one = _print("{0}", num)
two = _print("{0}", max_num)
part = _("({current} of {maximum})").format(current=one, maximum=two)

Laddar…
Avbryt
Spara