Commits

Yuya Nishihara committed d4c8819

quickop: wrap long lines

  • Participants
  • Parent commits 910198c

Comments (0)

Files changed (1)

tortoisehg/hgqt/quickop.py

             if self.command == 'revert':
                 self.chk.setChecked(s.value('quickop/nobackup', True).toBool())
             elif self.command == 'remove':
-                self.chk.setChecked(s.value('quickop/forceremove', False).toBool())
+                self.chk.setChecked(
+                    s.value('quickop/forceremove', False).toBool())
         self.stwidget = stwidget
         self.stwidget.refreshWctx()
         QShortcut(QKeySequence('Ctrl+Return'), self, self.accept)
                     if wfile in modified:
                         selmodified.append(wfile)
                 if selmodified:
-                    prompt = qtlib.CustomPrompt(_('Confirm Remove'),
-                                                _('You have selected one or more files that have been '
-                                                  'modified.  By default, these files will not be '
-                                                  'removed.  What would you like to do?'), self,
-                                                (_('Remove &Unmodified Files'),
-                                                 _('Remove &All Selected Files'), _('Cancel')),
-                                                0, 2, selmodified)
+                    prompt = qtlib.CustomPrompt(
+                        _('Confirm Remove'),
+                        _('You have selected one or more files that have been '
+                          'modified.  By default, these files will not be '
+                          'removed.  What would you like to do?'),
+                        self,
+                        (_('Remove &Unmodified Files'),
+                         _('Remove &All Selected Files'),
+                         _('Cancel')),
+                        0, 2, selmodified)
                     ret = prompt.run()
                     if ret == 1:
                         cmdline.append('--force')