[tryton-debian-vcs] tryton-proteus branch upstream-3.2 updated. upstream/3.2.1-1-g465c51d

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Dec 4 21:45:04 UTC 2014


The following commit has been merged in the upstream-3.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-proteus.git;a=commitdiff;h=upstream/3.2.1-1-g465c51d

commit 465c51d41d41baecbc6e1c0dde192f0f780277ba
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Dec 4 19:23:39 2014 +0100

    Adding upstream version 3.2.2.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index 599fe1b..547df2a 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.2.2 - 2014-12-03
+* Bug fixes (see mercurial logs for details)
+
 Version 3.2.1 - 2014-07-02
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index d00840d..6b368ef 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: proteus
-Version: 3.2.1
+Version: 3.2.2
 Summary: Library to access Tryton server as a client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/proteus.egg-info/PKG-INFO b/proteus.egg-info/PKG-INFO
index d00840d..6b368ef 100644
--- a/proteus.egg-info/PKG-INFO
+++ b/proteus.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: proteus
-Version: 3.2.1
+Version: 3.2.2
 Summary: Library to access Tryton server as a client
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/proteus/__init__.py b/proteus/__init__.py
index 6c8d8ab..070cfbc 100644
--- a/proteus/__init__.py
+++ b/proteus/__init__.py
@@ -3,7 +3,7 @@
 '''
 A library to access Tryton's models like a client.
 '''
-__version__ = "3.2.1"
+__version__ = "3.2.2"
 __all__ = ['Model', 'Wizard']
 import sys
 try:
@@ -814,7 +814,7 @@ class Model(object):
             for record in to_remove:
                 # remove without signal
                 list.remove(getattr(self, field), record)
-            if value and value.get('add') or value.get('update'):
+            if value and (value.get('add') or value.get('update')):
                 for index, vals in value.get('add', []):
                     relation = Model.get(self._fields[field]['relation'],
                             self._config)
-- 
tryton-proteus



More information about the tryton-debian-vcs mailing list