mailr17140 - in /branches/interatomic: ./ data/prototype.py


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

Header


Content

Posted by edward on July 02, 2012 - 21:41:
Author: bugman
Date: Mon Jul  2 21:41:21 2012
New Revision: 17140

URL: http://svn.gna.org/viewcvs/relax?rev=17140&view=rev
Log:
Merged revisions 17139 via svnmerge from 
svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk

........
  r17139 | bugman | 2012-07-02 21:36:49 +0200 (Mon, 02 Jul 2012) | 6 lines
  
  The spin container hidden objects are now replicated when the object is 
copied.
  
  The old Prototype.__deepcopy__() method was skipping all hidden objects, 
but now only objects
  starting with '__' are skipped.
........

Modified:
    branches/interatomic/   (props changed)
    branches/interatomic/data/prototype.py

Propchange: branches/interatomic/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Mon Jul  2 21:41:21 2012
@@ -1,1 +1,1 @@
-/trunk:1-17117
+/trunk:1-17139

Modified: branches/interatomic/data/prototype.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/data/prototype.py?rev=17140&r1=17139&r2=17140&view=diff
==============================================================================
--- branches/interatomic/data/prototype.py (original)
+++ branches/interatomic/data/prototype.py Mon Jul  2 21:41:21 2012
@@ -40,8 +40,8 @@
 
         # Loop over all objects in self and make deepcopies of them.
         for name in dir(self):
-            # Skip all names begining with '_'.
-            if search('^_', name):
+            # Skip all names begining with '__'.
+            if search('^__', name):
                 continue
 
             # Skip the class methods.




Related Messages


Powered by MHonArc, Updated Mon Jul 02 22:00:02 2012