From a90c02ecfc1ac0994b7d7f6960121c021f4b60a9 Mon Sep 17 00:00:00 2001 From: Mike khiretskiy Date: Fri, 23 May 2014 14:22:29 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B8=D0=BC=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2=D0=B0=D0=BD=20=D0=BF=D0=B0=D1=80=D0=B0=D0=BC?= =?UTF-8?q?=D0=B5=D1=82=D1=80=20=D0=BA=D0=BE=D0=BC=D0=B0=D0=BD=D0=B4=D0=BD?= =?UTF-8?q?=D0=BE=D0=B9=20=D1=81=D1=82=D1=80=D0=BE=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- update/update.py | 8 ++++---- update/variables/update.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/update/update.py b/update/update.py index 966e907..e7915c7 100644 --- a/update/update.py +++ b/update/update.py @@ -285,8 +285,8 @@ class Update: self.endTask() _print = self.color_print if max_num > 1: - one = _print.foreground(Colors.YELLOW).bold("{0}", num) - two = _print.foreground(Colors.YELLOW).bold("{0}", max_num) + one = _print.bold("{0}", num) + two = _print.bold("{0}", max_num) part = _(" ({current} of {maximum})").format(current=one, maximum=two) else: @@ -320,8 +320,8 @@ class Update: self.endTask() _print = self.color_print if max_num > 1: - one = _print.foreground(Colors.YELLOW).bold("{0}", num) - two = _print.foreground(Colors.YELLOW).bold("{0}", max_num) + one = _print.bold("{0}", num) + two = _print.bold("{0}", max_num) part = _(" ({current} of {maximum})").format(current=one, maximum=two) else: diff --git a/update/variables/update.py b/update/variables/update.py index 0276858..1c22e5c 100644 --- a/update/variables/update.py +++ b/update/variables/update.py @@ -401,7 +401,7 @@ class VariableClUpdateSyncOnlySet(Variable): """ type = "bool" value = "off" - opt = ["-s","--sync-only"] + opt = ["-s", "--sync"] def init(self): self.label = _("Only synchronize repositories")