Commit 10a9bc9f authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Correct ancestor method name

parent 7ec79495
......@@ -77,7 +77,7 @@ class AuthProvider(object):
def __getattr__(self, key):
if not key.startswith('get_'):
return super(AuthProvider, self).__getattr__(key)
return super(AuthProvider, self).__getattribute__(key)
if key.endswith('_display') or key.endswith('template'):
attr = key.replace('_display', '').replace('get_','')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment