changeset c8fbb549660a in modules/account_fr_chorus:default
details:
https://hg.tryton.org/modules/account_fr_chorus?cmd=changeset;node=c8fbb549660a
description:
Prevent assign unknown attributes on Model
by adding __slots__ on PoolMeta
issue8567
review254091002
diffstat:
account.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 71dcdbb7388d -r c8fbb549660a account.py
--- a/account.py Fri Aug 09 16:33:29 2019 +0200
+++ b/account.py Sat Sep 07 23:45:08 2019 +0200
@@ -33,6 +33,8 @@
class _SyntaxMixin(object):
+ __slots__ = ()
+
@classmethod
def get_syntaxes(cls):
pool = Pool()