From 517c44dae16acf86f007b414e4fa507447022824 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 22 Sep 2010 16:54:09 +0400 Subject: [PATCH] don't forbid to replace all occurrences for call expression (PY-1900) --- .../python/refactoring/introduce/IntroduceHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/com/jetbrains/python/refactoring/introduce/IntroduceHandler.java b/python/src/com/jetbrains/python/refactoring/introduce/IntroduceHandler.java index 708c75576914..a698465af100 100644 --- a/python/src/com/jetbrains/python/refactoring/introduce/IntroduceHandler.java +++ b/python/src/com/jetbrains/python/refactoring/introduce/IntroduceHandler.java @@ -259,7 +259,7 @@ abstract public class IntroduceHandler implements RefactoringActionHandler { (PyExpression)element; final List occurrences; - if (expression.getUserData(PyPsiUtils.SELECTION_BREAKS_AST_NODE) == null && !(expression instanceof PyCallExpression)) { + if (expression.getUserData(PyPsiUtils.SELECTION_BREAKS_AST_NODE) == null) { occurrences = getOccurrences(expression); } else {