changeset caa8e917b025 in trytond:5.0
details: https://hg.tryton.org/trytond?cmd=changeset;node=caa8e917b025
description:
Fix keyword argument syntax for Python 3.4
diffstat:
trytond/backend/postgresql/database.py | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 410a48a732a3 -r caa8e917b025 trytond/backend/postgresql/database.py
--- a/trytond/backend/postgresql/database.py Mon Apr 15 15:56:03 2019 +0200
+++ b/trytond/backend/postgresql/database.py Tue Apr 16 23:25:22 2019 +0200
@@ -118,8 +118,9 @@
inst = DatabaseInterface.__new__(cls, name=name)
logger.info('connect to "%s"', name)
inst._connpool = ThreadedConnectionPool(
- minconn, _maxconn, **cls._connection_params(name),
- cursor_factory=LoggingCursor)
+ minconn, _maxconn,
+ cursor_factory=LoggingCursor,
+ **cls._connection_params(name))
cls._databases[name] = inst
inst._last_use = datetime.now()
return inst