[tryton-debian-vcs] tryton-proteus branch upstream-2.6 created. 6a4140736d2339187edc65e7120b191767080b0b
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Wed Nov 27 17:13:10 UTC 2013
The following commit has been merged in the upstream-2.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-proteus.git;a=commitdiff;h=6a4140736d2339187edc65e7120b191767080b0b
commit 6a4140736d2339187edc65e7120b191767080b0b
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Sat May 4 02:12:38 2013 +0200
Adding upstream version 2.6.2.
diff --git a/CHANGELOG b/CHANGELOG
index c9af7ca..baf80b3 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.2 - 2013-05-02
+* Bug fixes (see mercurial logs for details)
+
Version 2.6.1 - 2012-11-05
* Bug fixes (see mercurial logs for details)
diff --git a/COPYRIGHT b/COPYRIGHT
index e792a2c..7e8c156 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2010-2012 Cédric Krier.
-Copyright (C) 2010-2012 B2CK SPRL.
+Copyright (C) 2010-2013 Cédric Krier.
+Copyright (C) 2010-2013 B2CK SPRL.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index d817b42..0fe3cf7 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: proteus
-Version: 2.6.1
+Version: 2.6.2
Summary: Library to access Tryton server as a client
Home-page: http://www.tryton.org/
Author: B2CK
diff --git a/proteus.egg-info/PKG-INFO b/proteus.egg-info/PKG-INFO
index d817b42..0fe3cf7 100644
--- a/proteus.egg-info/PKG-INFO
+++ b/proteus.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: proteus
-Version: 2.6.1
+Version: 2.6.2
Summary: Library to access Tryton server as a client
Home-page: http://www.tryton.org/
Author: B2CK
diff --git a/proteus/__init__.py b/proteus/__init__.py
index f2ec0cd..beac2fc 100644
--- a/proteus/__init__.py
+++ b/proteus/__init__.py
@@ -3,7 +3,7 @@
'''
A library to access Tryton's models like a client.
'''
-__version__ = "2.6.1"
+__version__ = "2.6.2"
__all__ = ['Model', 'Wizard']
import sys
try:
@@ -586,6 +586,9 @@ class Model(object):
@classmethod
def get(cls, name, config=None):
'Get a class for the named Model'
+ if isinstance(name, unicode):
+ name = name.encode('utf-8')
+
class Spam(Model):
__metaclass__ = MetaModelFactory(name, config=config)()
return Spam
@@ -879,7 +882,7 @@ class Wizard(object):
assert state in self.states
self.state = state
- while self.state != 'end':
+ while self.state != self.end_state:
ctx = self._context.copy()
ctx.update(self._config.context)
if self.models:
--
tryton-proteus
More information about the tryton-debian-vcs
mailing list