RefactoringRope/ChangesPreviewDialog.py

changeset 20
83b71483e198
parent 3
3be1b4662b48
child 35
79e19b499675
--- a/RefactoringRope/ChangesPreviewDialog.py	Sun Jan 30 19:00:34 2011 +0100
+++ b/RefactoringRope/ChangesPreviewDialog.py	Sun Jan 30 19:19:40 2011 +0100
@@ -12,6 +12,7 @@
 
 from PreviewDialogBase import PreviewDialogBase
 
+
 class ChangesPreviewDialog(PreviewDialogBase):
     """
     Class implementing the Changes preview dialog.
@@ -28,7 +29,7 @@
         """
         PreviewDialogBase.__init__(self, parent)
         
-        self.buttonBox.addButton(self.trUtf8("&Apply Changes"), 
+        self.buttonBox.addButton(self.trUtf8("&Apply Changes"),
             QDialogButtonBox.AcceptRole)
         self.buttonBox.addButton(QDialogButtonBox.Cancel)
         
@@ -39,7 +40,7 @@
                 changeDescription = change.get_description()
             except AttributeError:
                 changeDescription = self.trUtf8("No changes available.")
-            itm.setData(ChangesPreviewDialog.ChangeRole, 
+            itm.setData(ChangesPreviewDialog.ChangeRole,
                         changeDescription)
         if self.changesList.count():
             self.changesList.item(0).setSelected(True)

eric ide

mercurial