From dc9c4b26bccff55f3171445e691f35a7be10c2ac Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Tue, 14 Sep 2004 13:00:35 +0000 Subject: [PATCH] 2004-09-14 Tim Waugh * src/docgen/PSDrawDoc.py (PSDrawDoc.__init__): Fixed base method call (missing parameter). * src/docgen/SvgDrawDoc.py (SvgDrawDoc.__init__): Likewise. svn: r3542 --- gramps2/ChangeLog | 5 +++++ gramps2/src/docgen/PSDrawDoc.py | 2 +- gramps2/src/docgen/SvgDrawDoc.py | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 4e4855eff..c78a5fd63 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,8 @@ +2004-09-14 Tim Waugh + * src/docgen/PSDrawDoc.py (PSDrawDoc.__init__): Fixed base method + call (missing parameter). + * src/docgen/SvgDrawDoc.py (SvgDrawDoc.__init__): Likewise. + 2004-09-13 Tim Waugh * src/GenericFilter.py (IsAncestorOfFilterMatch.apply): Fixed thinko. diff --git a/gramps2/src/docgen/PSDrawDoc.py b/gramps2/src/docgen/PSDrawDoc.py index 4d552f92f..fb6166cb8 100644 --- a/gramps2/src/docgen/PSDrawDoc.py +++ b/gramps2/src/docgen/PSDrawDoc.py @@ -55,7 +55,7 @@ def pt2cm(val): class PSDrawDoc(BaseDoc.BaseDoc): def __init__(self,styles,type,template,orientation): - BaseDoc.BaseDoc.__init__(self,styles,type,orientation) + BaseDoc.BaseDoc.__init__(self,styles,type,template,orientation) self.f = None self.filename = None self.level = 0 diff --git a/gramps2/src/docgen/SvgDrawDoc.py b/gramps2/src/docgen/SvgDrawDoc.py index b57505b4b..5ae350897 100644 --- a/gramps2/src/docgen/SvgDrawDoc.py +++ b/gramps2/src/docgen/SvgDrawDoc.py @@ -46,7 +46,7 @@ import Errors class SvgDrawDoc(BaseDoc.BaseDoc): def __init__(self,styles,type,template,orientation): - BaseDoc.BaseDoc.__init__(self,styles,type,orientation) + BaseDoc.BaseDoc.__init__(self,styles,type,template,orientation) self.f = None self.filename = None self.level = 0