[MOBY-guts] biomoby commit

Yan Wong yanwong at pub.open-bio.org
Tue Feb 1 11:31:22 UTC 2005


yanwong
Tue Feb  1 06:31:22 EST 2005
Update of /home/repository/moby/moby-live/Python/bioMoby
In directory pub.open-bio.org:/tmp/cvs-serv13922

Modified Files:
	mobyDataTypes.py 
Log Message:


moby-live/Python/bioMoby mobyDataTypes.py,1.7,1.8
===================================================================
RCS file: /home/repository/moby/moby-live/Python/bioMoby/mobyDataTypes.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- /home/repository/moby/moby-live/Python/bioMoby/mobyDataTypes.py	2005/02/01 11:25:53	1.7
+++ /home/repository/moby/moby-live/Python/bioMoby/mobyDataTypes.py	2005/02/01 11:31:22	1.8
@@ -149,7 +149,7 @@
         #Put the raw content of the object
         #If you want to put your special object, then then you should write 
         #a __str__ method
-        if hasattr(self, "content") and self.content!=none and self.content!="":
+        if hasattr(self, "content") and self.content!=None and self.content!="":
             result.append("%s"%(self.content))
         
         result.append("</%s:%s>"%(self.__prefix__, self.__tag__))




More information about the MOBY-guts mailing list