Reviewers: ,


Please review this at http://codereview.tryton.org/668002/

Affected files:
  M trytond/model/dictschema.py


Index: trytond/model/dictschema.py
===================================================================
--- a/trytond/model/dictschema.py
+++ b/trytond/model/dictschema.py
@@ -1,5 +1,6 @@
 # This file is part of Tryton.  The COPYRIGHT file at the toplevel of this
 # repository contains the full copyright notices and license terms.
+import string
 try:
     import simplejson as json
 except ImportError:
@@ -52,7 +53,7 @@

     def get_selection_json(self, name):
         db_selection = self.selection or ''
-        selection = [map(str.strip, v.split(':', 1))
+        selection = [map(string.strip, v.split(':', 1))
             for v in db_selection.splitlines() if v]
         return json.dumps(selection)



--
--
tryton-dev@googlegroups.com mailing list

--- You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tryton-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to