Some Bugfixes

This commit is contained in:
Dave Halter
2019-05-05 15:59:37 +02:00
parent 171874d288
commit 44b9b8787a
4 changed files with 9 additions and 9 deletions

View File

@@ -513,8 +513,8 @@ class AbstractAnnotatedClass(ClassMixin, ContextWrapper):
filter_ = super(AbstractAnnotatedClass, self)._create_class_filter(
cls, origin_scope, is_instance
)
if cls.stub_context is None:
return filter_
return filter_
# XXX
return cls.stub_context.get_stub_only_filter(
# Take the first filter, which is here to filter module contents
# and wrap it.