Avoid position passing for value filters

This commit is contained in:
Dave Halter
2019-08-15 09:31:12 +02:00
parent 21a18c698e
commit 2e90e3b2b1

View File

@@ -117,7 +117,7 @@ class NameFinder(object):
def get_value_filters(self):
origin_scope = self._get_origin_scope()
for f in self._value.get_filters(False, self._position, origin_scope=origin_scope):
for f in self._value.get_filters(False, origin_scope=origin_scope):
yield f
# This covers the case where a stub files are incomplete.
if self._value.is_stub():