##// END OF EJS Templates
authn: Use type() instead of __class__ attribute.
johbo -
r239:0d0c8b93 default
parent child Browse files
Show More
@@ -128,7 +128,7 b' class RhodeCodeAuthPluginBase(object):'
128 """
128 """
129 schema_node = self.get_settings_schema().get(name)
129 schema_node = self.get_settings_schema().get(name)
130 db_type = self._settings_type_map.get(
130 db_type = self._settings_type_map.get(
131 schema_node.typ.__class__, 'unicode')
131 type(schema_node.typ), 'unicode')
132 if name in self._settings_encrypted:
132 if name in self._settings_encrypted:
133 db_type = '{}.encrypted'.format(db_type)
133 db_type = '{}.encrypted'.format(db_type)
134 return db_type
134 return db_type
General Comments 0
You need to be logged in to leave comments. Login now