Author: bugman Date: Tue Oct 2 10:53:34 2012 New Revision: 17652 URL: http://svn.gna.org/viewcvs/relax?rev=17652&view=rev Log: More usage of the is_unicode() function in the generic_fns.mol_res_spin module. Modified: trunk/generic_fns/mol_res_spin.py Modified: trunk/generic_fns/mol_res_spin.py URL: http://svn.gna.org/viewcvs/relax/trunk/generic_fns/mol_res_spin.py?rev=17652&r1=17651&r2=17652&view=diff ============================================================================== --- trunk/generic_fns/mol_res_spin.py (original) +++ trunk/generic_fns/mol_res_spin.py Tue Oct 2 10:53:34 2012 @@ -2683,7 +2683,7 @@ """ # Handle Unicode. - if isinstance(selection, unicode): + if is_unicode(selection): selection = str(selection) # The data pipe.