mailr5883 - /1.3/generic_fns/selection.py


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

Header


Content

Posted by edward on April 20, 2008 - 22:26:
Author: bugman
Date: Sun Apr 20 22:26:03 2008
New Revision: 5883

URL: http://svn.gna.org/viewcvs/relax?rev=5883&view=rev
Log:
Fix for the Selection.contains_mol() method.


Modified:
    1.3/generic_fns/selection.py

Modified: 1.3/generic_fns/selection.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/generic_fns/selection.py?rev=5883&r1=5882&r2=5883&view=diff
==============================================================================
--- 1.3/generic_fns/selection.py (original)
+++ 1.3/generic_fns/selection.py Sun Apr 20 22:26:03 2008
@@ -286,8 +286,8 @@
         if mol in self.molecules:
             return True
 
-        # Double nothingness.
-        if mol == None and not self.molecules:
+        # Nothingness.
+        if not self.molecules:
             return True
 
         # No match.




Related Messages


Powered by MHonArc, Updated Mon Apr 21 00:00:21 2008