Fix super call goto for multiple inheritance, fixes #1311
This commit is contained in:
1 parent
ebdae87821
commit
265abe1d08
3 files changed
+45
-11
No files matched your search
@@ -241,7 +241,7 @@ class _ContextWrapperBase(HelperContextMixin):
|
||||
return cls(*args, **kwargs)
|
||||
|
||||
def __getattr__(self, name):
|
||||
assert name != '_wrapped_context'
|
||||
assert name != '_wrapped_context', 'Problem with _get_wrapped_context'
|
||||
return getattr(self._wrapped_context, name)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user