[tryton-debian-vcs] tryton-modules-country branch upstream-2.2 updated. upstream/2.2.0-1-g155f4e9

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Dec 12 12:57:32 UTC 2013


The following commit has been merged in the upstream-2.2 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-country.git;a=commitdiff;h=upstream/2.2.0-1-g155f4e9

commit 155f4e96a7dfd288f5354023e692a836f1a20deb
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Dec 12 13:34:28 2013 +0100

    Adding upstream version 2.2.1.

diff --git a/CHANGELOG b/CHANGELOG
index b0908d0..5b285c5 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.2.1 - 2013-12-04
+* Bug fixes (see mercurial logs for details)
+
 Version 2.2.0 - 2011-10-24
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index c74330a..0afa40d 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: trytond_country
-Version: 2.2.0
+Version: 2.2.1
 Summary: Define all countries and subdivisions.
 Home-page: http://www.tryton.org/
 Author: B2CK
diff --git a/__tryton__.py b/__tryton__.py
index 0d4904f..91a9eba 100644
--- a/__tryton__.py
+++ b/__tryton__.py
@@ -9,7 +9,7 @@
     'name_es_ES': 'País',
     'name_fr_FR': 'Pays',
     'name_ru_RU': 'Страны',
-    'version' : '2.2.0',
+    'version' : '2.2.1',
     'author' : 'B2CK',
     'email': 'info at b2ck.com',
     'website': 'http://www.tryton.org/',
diff --git a/country.py b/country.py
index 402b458..2e6f04a 100644
--- a/country.py
+++ b/country.py
@@ -27,10 +27,10 @@ class Country(ModelSQL, ModelView):
         self._order.insert(0, ('name', 'ASC'))
 
     def search_rec_name(self, name, clause):
-        ids = self.search([('code',) + clause[1:]], limit=1)
+        ids = self.search([('code',) + tuple(clause[1:])], limit=1)
         if ids:
-            return [('code',) + clause[1:]]
-        return [(self._rec_name,) + clause[1:]]
+            return [('code',) + tuple(clause[1:])]
+        return [(self._rec_name,) + tuple(clause[1:])]
 
     def create(self, vals):
         if 'code' in vals and vals['code']:
@@ -144,10 +144,10 @@ class Subdivision(ModelSQL, ModelView):
         self._order.insert(0, ('code', 'ASC'))
 
     def search_rec_name(self, name, clause):
-        ids = self.search([('code',) + clause[1:]], limit=1)
+        ids = self.search([('code',) + tuple(clause[1:])], limit=1)
         if ids:
-            return [('code',) + clause[1:]]
-        return [(self._rec_name,) + clause[1:]]
+            return [('code',) + tuple(clause[1:])]
+        return [(self._rec_name,) + tuple(clause[1:])]
 
     def create(self, vals):
         if 'code' in vals and vals['code']:
diff --git a/trytond_country.egg-info/PKG-INFO b/trytond_country.egg-info/PKG-INFO
index 24aec91..ef0c88a 100644
--- a/trytond_country.egg-info/PKG-INFO
+++ b/trytond_country.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
-Metadata-Version: 1.0
+Metadata-Version: 1.1
 Name: trytond-country
-Version: 2.2.0
+Version: 2.2.1
 Summary: Define all countries and subdivisions.
 Home-page: http://www.tryton.org/
 Author: B2CK
-- 
tryton-modules-country



More information about the tryton-debian-vcs mailing list