[solo.commands] remove leading ">>" string from ask_question() message.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user