Skip to content

Commit

Permalink
fix #31 -- fix typo in downgrade listing
Browse files Browse the repository at this point in the history
Signed-off-by: Chris “Kwpolska” Warrick <[email protected]>
  • Loading branch information
Kwpolska committed Mar 25, 2014
1 parent 52815e9 commit b55dd43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkgbuilder/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b55dd43

Please sign in to comment.