]> git.parisson.com Git - telemeta.git/commitdiff
bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 26 Dec 2013 14:53:08 +0000 (15:53 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 26 Dec 2013 14:53:08 +0000 (15:53 +0100)
telemeta/util/xmltodict2.py

index 10db138912a33a5abd234542d9314366b24982f3..11c7fd069e2ba76b41de3d2263c38f01b3daec81 100644 (file)
@@ -185,7 +185,7 @@ def xmltodict(xml, attsToSkip=[], addCodeFile=False):
                        except expat.ExpatError:
                                errmsg = "An invalid XML string was encountered"
        if errmsg:
-               raise dabo.dException.XmlException, errmsg
+               raise Exception.XmlException, errmsg
        if addCodeFile and isPath:
                # Get the associated code file, if any
                codePth = "%s-code.py" % os.path.splitext(xml)[0]