[MOBY-guts] biomoby commit

Yan Wong yanwong at pub.open-bio.org
Wed Apr 20 09:39:37 UTC 2005


yanwong
Wed Apr 20 05:39:36 EDT 2005
Update of /home/repository/moby/moby-live/Python/bioMoby/webservice
In directory pub.open-bio.org:/tmp/cvs-serv21071/bioMoby/webservice

Modified Files:
	Invocators.py 
Log Message:
added somme comments on the code

moby-live/Python/bioMoby/webservice Invocators.py,1.4,1.5
===================================================================
RCS file: /home/repository/moby/moby-live/Python/bioMoby/webservice/Invocators.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- /home/repository/moby/moby-live/Python/bioMoby/webservice/Invocators.py	2005/04/19 15:41:50	1.4
+++ /home/repository/moby/moby-live/Python/bioMoby/webservice/Invocators.py	2005/04/20 09:39:36	1.5
@@ -191,9 +191,8 @@
         """ execute the sql command
         """
         cursor = self._connection.cursor()
-        cursor.prepare(self._sqlCommand%self._sqlParameters)
         
-        cursor.execute(None)
+        cursor.execute(self._sqlCommand, self._sqlParameters)
         self.results=cursor.fetchall()
         cursor.close()
         




More information about the MOBY-guts mailing list