From 627177ce47d67fa2d4356bd7ea660e0e4caafad3 Mon Sep 17 00:00:00 2001 From: "Ilya.Kazakevich" Date: Wed, 7 Oct 2015 17:40:14 +0300 Subject: [PATCH] PY-17144 PyCustomMember type evaluation fix --- .../src/com/jetbrains/python/codeInsight/PyCustomMember.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/psi-api/src/com/jetbrains/python/codeInsight/PyCustomMember.java b/python/psi-api/src/com/jetbrains/python/codeInsight/PyCustomMember.java index 55c576154378..77218c6457fc 100644 --- a/python/psi-api/src/com/jetbrains/python/codeInsight/PyCustomMember.java +++ b/python/psi-api/src/com/jetbrains/python/codeInsight/PyCustomMember.java @@ -171,7 +171,7 @@ public class PyCustomMember { } PyClass targetClass = null; - if (myTypeName != null && myTypeName.indexOf('.') > 0) { + if (myTypeName != null) { targetClass = PyPsiFacade.getInstance(context.getProject()).createClassByQName(myTypeName, context); } final PsiElement resolveTarget = findResolveTarget(context);