[rhmessaging-commits] rhmessaging commits: r1339 - mgmt/mint.

rhmessaging-commits at lists.jboss.org rhmessaging-commits at lists.jboss.org
Tue Nov 20 08:58:23 EST 2007


Author: nunofsantos
Date: 2007-11-20 08:58:23 -0500 (Tue, 20 Nov 2007)
New Revision: 1339

Modified:
   mgmt/mint/schemaparser.py
Log:
removing db initialization code from the parser

Modified: mgmt/mint/schemaparser.py
===================================================================
--- mgmt/mint/schemaparser.py	2007-11-20 01:00:40 UTC (rev 1338)
+++ mgmt/mint/schemaparser.py	2007-11-20 13:58:23 UTC (rev 1339)
@@ -10,8 +10,6 @@
     self.style = MixedCaseUnderscoreStyle()
     self.pythonOutput = "from sqlobject import *\n"
     self.pythonOutput += "from datetime import datetime\n"
-    self.pythonOutput += "conn = connectionForURI(\"%s\")\n" % (self.options["dsn"])
-    self.pythonOutput += "sqlhub.processConnection = conn\n\n"
     self.additional = ""
     self.currentClass = ""
     self.final = "\nclassToSchemaNameMap = dict()\n"




More information about the rhmessaging-commits mailing list