Now most tests pass and we're able to continue getting rid of parsing.representation.Name.

This commit is contained in:
Dave Halter
2014-09-22 15:41:27 +02:00
parent 8f3301f281
commit 6bd7ef56f1
2 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ class Script(object):
comp_dct = {}
for c, s in set(completions):
# TODO Remove this line. c should be a namepart even before that.
if isinstance(c, pr.Name):
if c.isinstance(pr.Name):
c = c.names[-1]
n = str(c)
if settings.case_insensitive_completion \