mailr17652 - /trunk/generic_fns/mol_res_spin.py


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

Header


Content

Posted by edward on October 02, 2012 - 10:53:
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.




Related Messages


Powered by MHonArc, Updated Tue Oct 02 11:00:01 2012