mailr14262 - /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 August 08, 2011 - 17:10:
Author: bugman
Date: Mon Aug  8 17:10:15 2011
New Revision: 14262

URL: http://svn.gna.org/viewcvs/relax?rev=14262&view=rev
Log:
Bug fix for the resetting of the relax data store - the cdp structure is now 
set to None.

Previously the data store would be cleared, but the __builtin__.cdp structure 
would point to the old
current data pipe, keeping it in existence.


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=14262&r1=14261&r2=14262&view=diff
==============================================================================
--- 1.3/data/__init__.py (original)
+++ 1.3/data/__init__.py Mon Aug  8 17:10:15 2011
@@ -144,6 +144,9 @@
 
         # Remove all items from the dictionary.
         self.instance.clear()
+
+        # Reset the current data pipe.
+        __builtin__.cdp = None
 
 
     def add(self, pipe_name, pipe_type, switch=True):




Related Messages


Powered by MHonArc, Updated Mon Aug 08 17:20:02 2011