changeset 30530:74013a831872

style: avoid an unnecessary line split
author Denis Laxalde <denis.laxalde@logilab.fr>
date Fri, 25 Nov 2016 09:09:03 +0100
parents bd5c4320b5a8
children 841092fd6b85
files mercurial/cmdutil.py
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Wed Aug 17 21:01:02 2016 -0700
+++ b/mercurial/cmdutil.py	Fri Nov 25 09:09:03 2016 +0100
@@ -3170,10 +3170,8 @@
     audit_path = pathutil.pathauditor(repo.root)
     for f in actions['forget'][0]:
         if interactive:
-            choice = \
-                repo.ui.promptchoice(
-                    _("forget added file %s (yn)?$$ &Yes $$ &No")
-                    % f)
+            choice = repo.ui.promptchoice(
+                _("forget added file %s (yn)?$$ &Yes $$ &No") % f)
             if choice == 0:
                 repo.dirstate.drop(f)
             else: