#2314: Detailed reports won't run - Reverted change r10874->r10873 #2289: Replace dict.has_keyx calls with x in dict

svn: r10973
This commit is contained in:
Jérôme Rapinat 2008-08-06 07:58:49 +00:00
parent 64526408e9
commit ef778d829f

View File

@ -1199,7 +1199,7 @@ class SheetParser(handler.ContentHandler):
self.f.set_underline(int(attrs['underline']))
self.f.set_color(cnv2color(attrs['color']))
elif tag == "para":
if attrs.has_key():
if attrs.has_key('description'):
self.p.set_description(attrs['description'])
self.p.set_right_margin(Utils.gfloat(attrs['rmargin']))
self.p.set_right_margin(Utils.gfloat(attrs['rmargin']))