diff options
Diffstat (limited to 'adbh.py')
-rw-r--r-- | adbh.py | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -16,7 +16,6 @@ Helpers are provided for postgresql, mysql and sqlite. """ __docformat__ = "restructuredtext en" -from logilab.common.deprecation import deprecated class BadQuery(Exception): pass class UnsupportedFunction(BadQuery): pass @@ -158,20 +157,6 @@ class _GenericAdvFuncHelper: raise UnsupportedFunction(funcname) function_description = classmethod(function_description) - #@deprecated('use users_support attribute') - def support_users(self): - """return True if the DBMS support users (this is usually - not true for in memory DBMS) - """ - return self.users_support - support_user = deprecated('use users_support attribute')(support_users) - - #@deprecated('use groups_support attribute') - def support_groups(self): - """return True if the DBMS support groups""" - return self.groups_support - support_user = deprecated('use groups_support attribute')(support_groups) - def func_sqlname(self, funcname): funcdef = self.function_description(funcname) return funcdef.backend_name(self.backend_name) |