changeset 8a80f8167db0 in modules/stock_package_shipping_sendcloud:default
details: 
https://hg.tryton.org/modules/stock_package_shipping_sendcloud?cmd=changeset&node=8a80f8167db0
description:
        Ensure that objects in the Pool has __slots__

        issue10719
        review375361002
diffstat:

 stock.py |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 1efc9a3e76a5 -r 8a80f8167db0 stock.py
--- a/stock.py  Thu Sep 23 10:06:16 2021 +0200
+++ b/stock.py  Thu Sep 23 23:12:35 2021 +0200
@@ -38,6 +38,7 @@
 
 
 class ShippingSendcloudMixin:
+    __slots__ = ()
 
     def get_sendcloud_credential(self):
         pool = Pool()

Reply via email to