changeset 5eebd10083bf in modules/production:default
details: 
https://hg.tryton.org/modules/production?cmd=changeset;node=5eebd10083bf
description:
        Use direct access to backend classes

        issue8836
        review258421002
diffstat:

 configuration.py |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (13 lines):

diff -r 0b2e50445415 -r 5eebd10083bf configuration.py
--- a/configuration.py  Thu Dec 05 22:10:55 2019 +0100
+++ b/configuration.py  Fri Dec 06 17:33:46 2019 +0100
@@ -43,8 +43,7 @@
 
     @classmethod
     def __register__(cls, module_name):
-        TableHandler = backend.get('TableHandler')
-        exist = TableHandler.table_exist(cls._table)
+        exist = backend.TableHandler.table_exist(cls._table)
 
         super(ConfigurationProductionSequence, cls).__register__(module_name)
 

Reply via email to