fix issues with empty *args as inputs

This commit is contained in:
Dave Halter committed 2014-05-31 11:03:37 +02:00
1 parent f4a508ac53
commit 248cca2e5e
5 files changed
+22 -5

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ class NameFinder(object):
self.name_str = name_str
self.position = position
@debug.increase_indent
def find(self, scopes, resolve_decorator=True, search_global=False):
if unicode(self.name_str) == 'None':
# Filter None, because it's really just a keyword, nobody wants to