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