mailr5488 - /1.3/data/prototype.py


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

Header


Content

Posted by edward on April 09, 2008 - 11:36:
Author: bugman
Date: Wed Apr  9 11:36:24 2008
New Revision: 5488

URL: http://svn.gna.org/viewcvs/relax?rev=5488&view=rev
Log:
Fix for the Prototype.__deepcopy__() method.  The 'is_empty' method is now 
skipped in the copying.


Modified:
    1.3/data/prototype.py

Modified: 1.3/data/prototype.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/data/prototype.py?rev=5488&r1=5487&r2=5488&view=diff
==============================================================================
--- 1.3/data/prototype.py (original)
+++ 1.3/data/prototype.py Wed Apr  9 11:36:24 2008
@@ -43,6 +43,10 @@
             if search('^__', name):
                 continue
 
+            # Skip the 'is_empty' method.
+            if name == 'is_empty':
+                continue
+
             # Get the object.
             value = getattr(self, name)
 




Related Messages


Powered by MHonArc, Updated Wed Apr 09 11:40:12 2008