Use direct access to backend classes

issue8836
review258421002
This commit is contained in:
Nicolas Évrard committed 2019-12-06 17:33:46 +01:00
1 parent 356a375e16
commit 74b2cfbdce
1 file changed
+1 -2
+1 -2
View File
@@ -45,8 +45,7 @@ class ConfigurationSequence(metaclass=PoolMeta):
@classmethod
def __register__(cls, module_name):
TableHandler = backend.get('TableHandler')
exist = TableHandler.table_exist(cls._table)
exist = backend.TableHandler.table_exist(cls._table)
if exist:
table = cls.__table_handler__(module_name)
exist &= table.column_exist('complaint_sequence')