Browse Source

Исправлен вывод при удалении пакета

develop 3.3.0
Mike Khiretskiy 8 years ago
parent
commit
15160e92a4
  1. 11
      pym/update/update.py

11
pym/update/update.py

@ -531,10 +531,13 @@ class Update(object):
"""
self.endTask()
_print = self.color_print
one = _print("{0}", num)
two = _print("{0}", max_num)
part = _(" ({current} of {maximum})").format(current=one,
maximum=two)
if num and max_num:
one = _print("{0}", num)
two = _print("{0}", max_num)
part = _(" ({current} of {maximum})").format(current=one,
maximum=two)
else:
part = ""
_print = _print.foreground(Colors.LIGHT_RED)
self.startTask(

Loading…
Cancel
Save