From b55dd430aef9349b04117e5c78a24a6497871470 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20=E2=80=9CKwpolska=E2=80=9D=20Warrick?= Date: Tue, 25 Mar 2014 14:50:00 +0100 Subject: [PATCH] fix #31 -- fix typo in downgrade listing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Chris “Kwpolska” Warrick --- pkgbuilder/upgrade.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgbuilder/upgrade.py b/pkgbuilder/upgrade.py index e1b8da5..7da3762 100644 --- a/pkgbuilder/upgrade.py +++ b/pkgbuilder/upgrade.py @@ -135,18 +135,18 @@ def auto_upgrade(downgrade=False, vcsup=False): if DS.pacman: if downgrade: msg = _('warning: {0}: downgrading from version {1} ' - 'to version {2}').format(**i) + 'to version {2}').format(*i) else: msg = _('warning: {0}: local ({1}) is newer than aur ' - '({2})').format(**i) + '({2})').format(*i) print(msg) else: if downgrade: msg = _('{0}: downgrading from version {1} ' - 'to version {2}').format(**i) + 'to version {2}').format(*i) else: msg = _('{0}: local ({1}) is newer than aur ' - '({2})').format(**i) + '({2})').format(*i) DS.fancy_warning(msg) if downgrade: