Skip to content

Commit

Permalink
Merge pull request git-cola#840 from Vdragon/patch-issue-838
Browse files Browse the repository at this point in the history
* Vdragon/patch-issue-838:
  cmds: Remove redundant query message

Signed-off-by: David Aguilar <davvid@gmail.com>
  • Loading branch information
davvid committed Jun 15, 2018
2 parents 4f54986 + 58e2cb0 commit b12a241
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cola/cmds.py
Expand Up @@ -686,11 +686,9 @@ def __init__(self, name, new_name):

def confirm(self):
title = N_('Rename Remote')
question = N_('Rename remote?')
info = (N_('Rename remote "%(current)s" to "%(new)s"?') %
dict(current=self.name, new=self.new_name))
ok_text = N_('Rename')
return Interaction.confirm(title, question, info, ok_text)
return Interaction.question(title, info)

def action(self):
git = self.model.git
Expand Down

0 comments on commit b12a241

Please sign in to comment.