authn: Use type() instead of __class__ attribute.
This commit is contained in:
parent
24e2b4a137
commit
cf906eafe6
1 changed files with 1 additions and 1 deletions
|
|
@ -128,7 +128,7 @@ class RhodeCodeAuthPluginBase(object):
|
|||
"""
|
||||
schema_node = self.get_settings_schema().get(name)
|
||||
db_type = self._settings_type_map.get(
|
||||
schema_node.typ.__class__, 'unicode')
|
||||
type(schema_node.typ), 'unicode')
|
||||
if name in self._settings_encrypted:
|
||||
db_type = '{}.encrypted'.format(db_type)
|
||||
return db_type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue