RefactoringRope/ChangesPreviewDialog.py

changeset 55
d501156be247
parent 43
39924831c795
child 62
1077db8d0589
--- a/RefactoringRope/ChangesPreviewDialog.py	Sun Oct 13 18:35:25 2013 +0200
+++ b/RefactoringRope/ChangesPreviewDialog.py	Fri Oct 25 19:33:36 2013 +0200
@@ -29,8 +29,8 @@
         """
         PreviewDialogBase.__init__(self, parent)
         
-        self.buttonBox.addButton(self.trUtf8("&Apply Changes"),
-            QDialogButtonBox.AcceptRole)
+        self.buttonBox.addButton(
+            self.trUtf8("&Apply Changes"), QDialogButtonBox.AcceptRole)
         self.buttonBox.addButton(QDialogButtonBox.Cancel)
         
         self.description.setText(changes.description)
@@ -58,7 +58,7 @@
         
         self.previewEdit.clear()
         for line in current.data(ChangesPreviewDialog.ChangeRole)\
-                    .splitlines(True):
+                .splitlines(True):
             try:
                 format = self.formats[line[0]]
             except (IndexError, KeyError):

eric ide

mercurial