Merged revisions 9386 via svnmerge from
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 19 Apr 2008 19:03:23 +0000 (19:03 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Sat, 19 Apr 2008 19:03:23 +0000 (19:03 +0000)
svn://svn.open-ils.org/ILS/trunk

........
  r9386 | erickson | 2008-04-19 15:00:54 -0400 (Sat, 19 Apr 2008) | 1 line

  moved to the more correct (and functional) documnentElement
........

git-svn-id: svn://svn.open-ils.org/ILS/branches/acq-experiment@9387 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/python/oils/utils/idl.py

index 5a2eae7..76bf5f8 100644 (file)
@@ -79,7 +79,7 @@ class IDLParser(object):
         """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: