--- a/RefactoringRope/InlineArgumentDefaultDialog.py Sat Feb 09 11:32:10 2013 +0100 +++ b/RefactoringRope/InlineArgumentDefaultDialog.py Sat Feb 23 15:28:39 2013 +0100 @@ -10,8 +10,6 @@ from PyQt4.QtCore import pyqtSlot, Qt from PyQt4.QtGui import QDialogButtonBox, QListWidgetItem, QAbstractButton -import rope.refactor.change_signature - from Ui_InlineArgumentDefaultDialog import Ui_InlineArgumentDefaultDialog from RefactoringDialogBase import RefactoringDialogBase @@ -98,6 +96,8 @@ """ items = self.parameterList.selectedItems() if len(items) > 0: + import rope.refactor.change_signature + itm = items[0] name = itm.data(InlineArgumentDefaultDialog.NameRole) index = self.__getParameterIndex(self.__definition_info, name)