mailr11367 - /1.3/data/__init__.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on July 27, 2010 - 14:00:
Author: bugman
Date: Tue Jul 27 14:00:43 2010
New Revision: 11367

URL: http://svn.gna.org/viewcvs/relax?rev=11367&view=rev
Log:
When loading save states, data pipe names are always converted to a string to 
avoid unicode problems.


Modified:
    1.3/data/__init__.py

Modified: 1.3/data/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/data/__init__.py?rev=11367&r1=11366&r2=11367&view=diff
==============================================================================
--- 1.3/data/__init__.py (original)
+++ 1.3/data/__init__.py Tue Jul 27 14:00:43 2010
@@ -270,7 +270,7 @@
             # Checks.
             for pipe_node in pipe_nodes:
                 # The pipe name and type.
-                pipe_name = pipe_node.getAttribute('name')
+                pipe_name = str(pipe_node.getAttribute('name'))
                 pipe_type = pipe_node.getAttribute('type')
 
                 # Existence check.
@@ -284,7 +284,7 @@
             # Load the data pipes.
             for pipe_node in pipe_nodes:
                 # The pipe name and type.
-                pipe_name = pipe_node.getAttribute('name')
+                pipe_name = str(pipe_node.getAttribute('name'))
                 pipe_type = pipe_node.getAttribute('type')
 
                 # Add the data pipe.




Related Messages


Powered by MHonArc, Updated Tue Jul 27 15:20:02 2010