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

        issue8836
        review258421002
diffstat:

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

diffs (13 lines):

diff -r 4089e4404f01 -r 29a0dbb20154 party.py
--- a/party.py  Wed Dec 04 11:09:36 2019 +0100
+++ b/party.py  Fri Dec 06 17:33:47 2019 +0100
@@ -48,8 +48,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(PartySalePriceList, cls).__register__(module_name)
 

Reply via email to