[tryton-debian-vcs] tryton-server branch debian updated. debian/3.6.0-1-7-g139b353

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Wed May 20 20:27:07 UTC 2015


The following commit has been merged in the debian branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-server.git;a=commitdiff;h=debian/3.6.0-1-7-g139b353

commit 139b353551905415c9caef3e804675a51ff6f572
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed May 20 14:13:40 2015 +0200

    Releasing debian version 3.6.1-1.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/debian/changelog b/debian/changelog
index 04ade33..b21a298 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,14 @@
+tryton-server (3.6.1-1) unstable; urgency=medium
+
+  * Running internal cron of trytond by default.
+  * Updating year of debian copyright.
+  * Using POSIX-compatible pathfind in postrm to remove hardcoded path.
+  * Fixing spelling error in README.
+  * Unifying quoting of variables in maintainer scipts.
+  * Merging upstream version 3.6.1.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Wed, 20 May 2015 14:13:40 +0200
+
 tryton-server (3.6.0-1) unstable; urgency=medium
 
   * Wrapping and sorting control files (wrap-and-sort -bts).
commit cd285e4955866c5e3dfa36cb64a2382cd32f8a7b
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed May 20 14:13:39 2015 +0200

    Merging upstream version 3.6.1.

diff --git a/CHANGELOG b/CHANGELOG
index 75a39d1..5be6883 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 3.6.1 - 2015-05-19
+* Bug fixes (see mercurial logs for details)
+
 Version 3.6.0 - 2015-04-20
 * Bug fixes (see mercurial logs for details)
 * Use bytes and bytearray for Binary
diff --git a/PKG-INFO b/PKG-INFO
index a676571..3063a3d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 3.6.0
+Version: 3.6.1
 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 a676571..3063a3d 100644
--- a/trytond.egg-info/PKG-INFO
+++ b/trytond.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 3.6.0
+Version: 3.6.1
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond/__init__.py b/trytond/__init__.py
index 99f7805..399c9c2 100644
--- a/trytond/__init__.py
+++ b/trytond/__init__.py
@@ -4,7 +4,7 @@ import os
 import time
 from email import charset
 
-__version__ = "3.6.0"
+__version__ = "3.6.1"
 
 os.environ['TZ'] = 'UTC'
 if hasattr(time, 'tzset'):
diff --git a/trytond/backend/postgresql/database.py b/trytond/backend/postgresql/database.py
index 9529d5c..4bc1879 100644
--- a/trytond/backend/postgresql/database.py
+++ b/trytond/backend/postgresql/database.py
@@ -151,6 +151,7 @@ class Database(DatabaseInterface):
         database.create(cursor, database_name)
         cursor.commit()
         cursor.close()
+        database.close()
 
         cmd = ['pg_restore', '--no-owner']
         env = {}
diff --git a/trytond/model/modelstorage.py b/trytond/model/modelstorage.py
index 45eb7b3..68eb97c 100644
--- a/trytond/model/modelstorage.py
+++ b/trytond/model/modelstorage.py
@@ -302,10 +302,11 @@ class ModelStorage(Model):
                 or isinstance(f, fields.Property))]
         ids = map(int, records)
         datas = cls.read(ids, fields_names=fields_names)
+        datas = dict((d['id'], d) for d in datas)
         field_defs = cls.fields_get(fields_names=fields_names)
         to_create = []
-        for data in datas:
-            data = convert_data(field_defs, data)
+        for id in ids:
+            data = convert_data(field_defs, datas[id])
             to_create.append(data)
         new_records = cls.create(to_create)
         new_ids = dict(izip(ids, map(int, new_records)))
-- 
tryton-server



More information about the tryton-debian-vcs mailing list