[Erp5-report] r24789 - /erp5/trunk/products/ERP5/Document/Telephone.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Dec 4 11:24:14 CET 2008


Author: nicolas
Date: Thu Dec  4 11:24:02 2008
New Revision: 24789

URL: http://svn.erp5.org?rev=24789&view=rev
Log:
Convert value in string explicitly

Modified:
    erp5/trunk/products/ERP5/Document/Telephone.py

Modified: erp5/trunk/products/ERP5/Document/Telephone.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Telephone.py?rev=24789&r1=24788&r2=24789&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Telephone.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/Telephone.py [utf8] Thu Dec  4 11:24:02 2008
@@ -236,7 +236,7 @@
       coordinate_text = ''
 
     # Removing the spaces of the begin and end.
-    coordinate_text = coordinate_text.strip()
+    coordinate_text = str(coordinate_text).strip()
     
     # This regexp get the coordinate text 
     # and extract number and letters




More information about the Erp5-report mailing list