RefactoringRope/InlineDialog.py

changeset 20
83b71483e198
parent 9
8cee612bcc28
child 35
79e19b499675
diff -r 32dd7dbf3e8e -r 83b71483e198 RefactoringRope/InlineDialog.py
--- a/RefactoringRope/InlineDialog.py	Sun Jan 30 19:00:34 2011 +0100
+++ b/RefactoringRope/InlineDialog.py	Sun Jan 30 19:19:40 2011 +0100
@@ -20,15 +20,15 @@
     """
     Class implementing the Inline dialog.
     """
-    def __init__(self, refactoring, title, inliner, parent = None):
+    def __init__(self, refactoring, title, inliner, parent=None):
         """
         Constructor
         
         @param refactoring reference to the main refactoring object
             (Refactoring)
         @param title title of the dialog (string)
-        @param inliner reference to the inliner object 
-            (rope.refactor.inline.InlineMethod, 
+        @param inliner reference to the inliner object
+            (rope.refactor.inline.InlineMethod,
              rope.refactor.inline.InlineVariable
              or rope.refactor.inline.InlineParameter)
         @param parent reference to the parent widget (QWidget)
@@ -79,15 +79,15 @@
         @return reference to the Changes object (rope.base.change.ChangeSet)
         """
         try:
-            if isinstance(self.__inliner, 
+            if isinstance(self.__inliner,
                           rope.refactor.inline.InlineParameter):
                 opts = {
-                    "in_hierarchy" : self.hierarchyCheckBox.isChecked(), 
+                    "in_hierarchy": self.hierarchyCheckBox.isChecked(),
                 }
             else:
                 opts = {
-                    "remove" : self.removeCheckBox.isChecked(),
-                    "only_current" : self.currentCheckBox.isChecked(), 
+                    "remove": self.removeCheckBox.isChecked(),
+                    "only_current": self.currentCheckBox.isChecked(),
                 }
             changes = self.__inliner.get_changes(task_handle=handle, **opts)
             return changes

eric ide

mercurial