[open-ils-commits] r9386 - trunk/Open-ILS/src/python/oils/utils

svn at svn.open-ils.org svn at svn.open-ils.org
Sat Apr 19 15:39:37 EDT 2008


Author: erickson
Date: 2008-04-19 15:00:54 -0400 (Sat, 19 Apr 2008)
New Revision: 9386

Modified:
   trunk/Open-ILS/src/python/oils/utils/idl.py
Log:
moved to the more correct (and functional) documnentElement

Modified: trunk/Open-ILS/src/python/oils/utils/idl.py
===================================================================
--- trunk/Open-ILS/src/python/oils/utils/idl.py	2008-04-19 12:45:17 UTC (rev 9385)
+++ trunk/Open-ILS/src/python/oils/utils/idl.py	2008-04-19 19:00:54 UTC (rev 9386)
@@ -79,7 +79,7 @@
         """Parses the IDL file and builds class, field, and link objects"""
 
         doc = xml.dom.minidom.parse(self.idlFile)
-        root = doc.childNodes[0]
+        root = doc.documentElement
 
         for child in root.childNodes:
         



More information about the open-ils-commits mailing list