From 1715bfa31aaf4ac1bf615bad092dbf60cc1d69e7 Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Tue, 27 Nov 2012 17:48:46 +0400 Subject: [PATCH] fixed add parameter to parameter list --- .../src/com/jetbrains/python/psi/impl/PyParameterListImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/src/com/jetbrains/python/psi/impl/PyParameterListImpl.java b/python/src/com/jetbrains/python/psi/impl/PyParameterListImpl.java index 73d27ea8fa9f..8eb46efe3f25 100644 --- a/python/src/com/jetbrains/python/psi/impl/PyParameterListImpl.java +++ b/python/src/com/jetbrains/python/psi/impl/PyParameterListImpl.java @@ -42,7 +42,7 @@ public class PyParameterListImpl extends PyBaseElementImpl if (paren != null && ")".equals(paren.getText())) { ASTNode beforeWhat = paren.getNode(); // the closing paren will be this PyParameter[] params = getParameters(); - PyUtil.addListNode(this, param, beforeWhat, true, params.length == 0); + PyUtil.addListNode(this, param, beforeWhat, params.length == 0, true); } }