[solo.commands] remove leading ">>" string from ask_question() message.

This commit is contained in:
Fabio Erculiani
2013-12-16 19:53:11 +01:00
parent 53cbf979c5
commit beff483d19
2 changed files with 5 additions and 6 deletions

View File

@@ -391,7 +391,7 @@ Manage package file updates.
)
if cmd == -3:
rc = entropy_client.ask_question(
">> %s" % (_("Overwrite ?"),) )
_("Overwrite ?"))
if rc == _("No"):
return
@@ -446,7 +446,7 @@ Manage package file updates.
)
if cmd == -7:
rc = entropy_client.ask_question(
">> %s" % (_("Discard ?"),) )
_("Discard ?"))
if rc == _("No"):
return

View File

@@ -670,8 +670,8 @@ Tools to rescue the running system.
rc = _("Yes")
accepted = True
if ask:
rc = entropy_client.ask_question(">> %s" % (
_("Continue ?"),))
rc = entropy_client.ask_question(
_("Continue ?"))
if rc != _("Yes"):
accepted = False
@@ -710,8 +710,7 @@ Tools to rescue the running system.
if to_be_added and not pretend:
if ask:
rc = entropy_client.ask_question(">> %s" % (
_("Continue ?"),) )
rc = entropy_client.ask_question(_("Continue ?"))
if rc != _("Yes"):
return 1