Revert 10874 changes to _Options.py and BookReport.py

svn: r10879
This commit is contained in:
Gerald Britton committed 2008-07-18 16:10:27 +00:00
1 parent 6b2b52552d
commit 777928e9a7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -268,7 +268,7 @@ class OptionParser(handler.ContentHandler):
self.o = {}
elif tag == "option":
self.oname = attrs['name']
if 'length' in attrs:
if attrs.has_key('length'):
self.an_o = []
else:
self.an_o = attrs['value']
+1 -1
View File
@@ -524,7 +524,7 @@ class BookParser(handler.ContentHandler):
self.o = {}
elif tag == "option":
self.an_o_name = attrs['name']
if 'length' in attrs:
if attrs.has_key('length'):
self.an_o_value = []
else:
converter = Utils.get_type_converter_by_name(attrs['type'])