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.