[tryton-debian-vcs] tryton-server branch upstream-2.8 updated. upstream/2.8.4-1-g26ed850
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Sun Jan 19 20:13:28 UTC 2014
The following commit has been merged in the upstream-2.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-server.git;a=commitdiff;h=upstream/2.8.4-1-g26ed850
commit 26ed8503ee3fc55ef0f64fe2aaf9a2f918d8dbe7
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sun Jan 19 20:55:42 2014 +0100
Adding upstream version 2.8.5.
diff --git a/CHANGELOG b/CHANGELOG
index b1b1044..d6e64c0 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.8.5 - 2014-01-18
+* Bug fixes (see mercurial logs for details)
+
Version 2.8.4 - 2013-12-04
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index b199d0d..b93c89d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond
-Version: 2.8.4
+Version: 2.8.5
Summary: Tryton server
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond.egg-info/PKG-INFO b/trytond.egg-info/PKG-INFO
index b199d0d..b93c89d 100644
--- a/trytond.egg-info/PKG-INFO
+++ b/trytond.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond
-Version: 2.8.4
+Version: 2.8.5
Summary: Tryton server
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond/protocols/dispatcher.py b/trytond/protocols/dispatcher.py
index e00f0b0..a0a620b 100644
--- a/trytond/protocols/dispatcher.py
+++ b/trytond/protocols/dispatcher.py
@@ -151,18 +151,18 @@ def dispatch(host, port, protocol, database_name, user, session, object_type,
with Transaction().start(database_name, user,
readonly=rpc.readonly) as transaction:
try:
- args, kwargs, transaction.context, transaction.timestamp = \
- rpc.convert(obj, *args, **kwargs)
+ c_args, c_kwargs, transaction.context, transaction.timestamp \
+ = rpc.convert(obj, *args, **kwargs)
meth = getattr(obj, method)
if not hasattr(meth, 'im_self') or meth.im_self:
- result = rpc.result(meth(*args, **kwargs))
+ result = rpc.result(meth(*c_args, **c_kwargs))
else:
assert rpc.instantiate == 0
- inst = args.pop(0)
+ inst = c_args.pop(0)
if hasattr(inst, method):
- result = rpc.result(meth(inst, *args, **kwargs))
+ result = rpc.result(meth(inst, *c_args, **c_kwargs))
else:
- result = [rpc.result(meth(i, *args, **kwargs))
+ result = [rpc.result(meth(i, *c_args, **c_kwargs))
for i in inst]
if not rpc.readonly:
transaction.cursor.commit()
diff --git a/trytond/rpc.py b/trytond/rpc.py
index b9eed3a..afa0827 100644
--- a/trytond/rpc.py
+++ b/trytond/rpc.py
@@ -23,6 +23,7 @@ class RPC(object):
def convert(self, obj, *args, **kwargs):
args = list(args)
+ kwargs = kwargs.copy()
if 'context' in kwargs:
context = kwargs.pop('context')
else:
diff --git a/trytond/version.py b/trytond/version.py
index 0abfb88..c96e42f 100644
--- a/trytond/version.py
+++ b/trytond/version.py
@@ -1,6 +1,6 @@
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
PACKAGE = "trytond"
-VERSION = "2.8.4"
+VERSION = "2.8.5"
LICENSE = "GPL-3"
WEBSITE = "http://www.tryton.org/"
--
tryton-server
More information about the tryton-debian-vcs
mailing list