Author: nunofsantos
Date: 2007-10-26 14:39:05 -0400 (Fri, 26 Oct 2007)
New Revision: 1170
Modified:
mgmt/mint/schemaparser.py
Log:
fix mllib package location
Modified: mgmt/mint/schemaparser.py
===================================================================
--- mgmt/mint/schemaparser.py 2007-10-26 18:03:15 UTC (rev 1169)
+++ mgmt/mint/schemaparser.py 2007-10-26 18:39:05 UTC (rev 1170)
@@ -1,4 +1,4 @@
-import mllib
+import qpid.mllib
from sqlobject import connectionForURI, sqlhub, MixedCaseUnderscoreStyle
# mapping between xml schema types and database column types
@@ -93,7 +93,7 @@
# parse configuration file
-config = mllib.xml_parse("config.xml")
+config = qpid.mllib.xml_parse("config.xml")
configOptions = config.query["config/configOption"]
options = dict()
for opt in configOptions:
@@ -107,7 +107,7 @@
conn = connectionForURI(options["dsn"])
sqlhub.processConnection = conn
-schema = mllib.xml_parse(options["schemaXML"])
+schema = qpid.mllib.xml_parse(options["schemaXML"])
objects = schema.query["schema/object"]
style = MixedCaseUnderscoreStyle()
Show replies by date