--- a/RefactoringRope/IntroduceFactoryDialog.py Sun Jan 30 19:00:34 2011 +0100 +++ b/RefactoringRope/IntroduceFactoryDialog.py Sun Jan 30 19:19:40 2011 +0100 @@ -13,18 +13,19 @@ from Ui_IntroduceFactoryDialog import Ui_IntroduceFactoryDialog from RefactoringDialogBase import RefactoringDialogBase + class IntroduceFactoryDialog(RefactoringDialogBase, Ui_IntroduceFactoryDialog): """ Class implementing the Introduce Factory dialog. """ - def __init__(self, refactoring, title, introducer, parent = None): + def __init__(self, refactoring, title, introducer, parent=None): """ Constructor @param refactoring reference to the main refactoring object (Refactoring) @param title title of the dialog (string) - @param introducer reference to the factory introducer object + @param introducer reference to the factory introducer object (rope.refactor.introduce_factory.IntroduceFactoryRefactoring) @param parent reference to the parent widget (QWidget) """ @@ -73,7 +74,7 @@ """ try: changes = self.__introducer.get_changes(self.nameEdit.text(), - global_factory=self.globalButton.isChecked(), + global_factory=self.globalButton.isChecked(), task_handle=handle) return changes except Exception as err: