[tryton-debian-vcs] tryton-server branch upstream updated. upstream/4.4.3-1-gd50450c

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Thu Oct 5 12:29:25 UTC 2017


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

commit d50450cb7aa88063254c57d87f43bba4b3f5e912
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Thu Oct 5 11:16:12 2017 +0200

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

diff --git a/CHANGELOG b/CHANGELOG
index 6a12c74..4e48db8 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.4.4 - 2017-10-03
+* Bug fixes (see mercurial logs for details)
+
 Version 4.4.3 - 2017-08-08
 * Bug fixes (see mercurial logs for details)
 
diff --git a/PKG-INFO b/PKG-INFO
index 4a3b8b3..3e54787 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 4.4.3
+Version: 4.4.4
 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 4a3b8b3..3e54787 100644
--- a/trytond.egg-info/PKG-INFO
+++ b/trytond.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond
-Version: 4.4.3
+Version: 4.4.4
 Summary: Tryton server
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/trytond/__init__.py b/trytond/__init__.py
index 3cc84be..8eaa04d 100644
--- a/trytond/__init__.py
+++ b/trytond/__init__.py
@@ -5,7 +5,7 @@ import time
 import warnings
 from email import charset
 
-__version__ = "4.4.3"
+__version__ = "4.4.4"
 
 os.environ['TZ'] = 'UTC'
 if hasattr(time, 'tzset'):
diff --git a/trytond/exceptions.py b/trytond/exceptions.py
index acb3765..18cc120 100644
--- a/trytond/exceptions.py
+++ b/trytond/exceptions.py
@@ -3,7 +3,9 @@
 
 
 class TrytonException(Exception):
-    pass
+
+    def __str__(self):
+        return unicode(self).encode('utf-8')
 
 
 class UserError(TrytonException):
@@ -14,8 +16,8 @@ class UserError(TrytonException):
         self.description = description
         self.code = 1
 
-    def __str__(self):
-        return '%s - %s' % (self.message, self.description)
+    def __unicode__(self):
+        return u'%s - %s' % (self.message, self.description)
 
 
 class UserWarning(TrytonException):
@@ -28,8 +30,8 @@ class UserWarning(TrytonException):
         self.description = description
         self.code = 2
 
-    def __str__(self):
-        return '%s - %s' % (self.message, self.description)
+    def __unicode__(self):
+        return u'%s - %s' % (self.message, self.description)
 
 
 class LoginException(TrytonException):
@@ -54,7 +56,7 @@ class ConcurrencyException(TrytonException):
         self.message = message
         self.code = 4
 
-    def __str__(self):
+    def __unicode__(self):
         return self.message
 
 
-- 
tryton-server



More information about the tryton-debian-vcs mailing list