From 86e1a2f0288a3f06a84a2ecc53d9014ed92f2996 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Wed, 6 Aug 2008 06:49:29 +0000 Subject: [PATCH] #2314: Detailed reports won't run - Reverted change r10874->r10873 #2289: Replace dict.has_keyx calls with x in dict svn: r10969 --- src/BaseDoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BaseDoc.py b/src/BaseDoc.py index 4d8b01190..fcc0a83c9 100644 --- a/src/BaseDoc.py +++ b/src/BaseDoc.py @@ -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 'description' in attrs: + if attrs.has_key(): self.p.set_description(attrs['description']) self.p.set_right_margin(Utils.gfloat(attrs['rmargin'])) self.p.set_right_margin(Utils.gfloat(attrs['rmargin']))