diff options
author | Ryan Rix <phrkonaleash@gmail.com> | 2009-12-08 12:20:16 -0700 |
---|---|---|
committer | Ryan Rix <phrkonaleash@gmail.com> | 2009-12-08 12:20:16 -0700 |
commit | 2ab7ac3f94fd6234d8a3e9ed69cc3b054d0dab26 (patch) | |
tree | 57e2e0ebc597fb0105f3074d698bec16b738e128 /backend | |
parent | 0b3e5434513c2e0be465bcfec83c5b98be73349f (diff) | |
download | fedora-tour-2ab7ac3f94fd6234d8a3e9ed69cc3b054d0dab26.tar.gz fedora-tour-2ab7ac3f94fd6234d8a3e9ed69cc3b054d0dab26.tar.xz fedora-tour-2ab7ac3f94fd6234d8a3e9ed69cc3b054d0dab26.zip |
Fixed the XML parser by fixing a stupid == -> = mistake. XML parser is
working but could still use quite a bit of cleanup. We also need to look
at how exactly it is that I can verify that this data is intact properly
without writing a debug class for it. I've looked at pprint but it doesn't
seem to be deseigned to operate on arbitrary things like perl's DataDumper
Will look into that more at a later time.
Diffstat (limited to 'backend')
-rw-r--r-- | backend/tour_menuobject.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/backend/tour_menuobject.py b/backend/tour_menuobject.py index a16b84a..b2839ef 100644 --- a/backend/tour_menuobject.py +++ b/backend/tour_menuobject.py @@ -156,13 +156,6 @@ class MenuObject: if data == "": return - #if self.currenElement == False: - # return - - print "currentElement: "+self.currentElement - print "data: "+data - - if self.currentElement == "DisplayName": self.activeNode.displayName = data @@ -186,7 +179,7 @@ class MenuObject: def parserEndElement(self, name): print "Encountered "+name+" node End" - self.currentElement == False + self.currentElement = "" if name == "Page": self.activeNode = self.activeNode.parent |