PY-17144 PyCustomMember type evaluation fix

This commit is contained in:
Ilya.Kazakevich
2015-10-07 17:40:14 +03:00
parent 054a6cc646
commit 627177ce47
@@ -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);