From fd85ac0cb4b1329346aff5ef9dfd133d64d3b0fb Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Mon, 15 Jun 2009 16:18:16 +0000 Subject: [PATCH] remove template code from quickreport docgen svn: r12665 --- src/QuickReports.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/QuickReports.py b/src/QuickReports.py index fee903277..50475855d 100644 --- a/src/QuickReports.py +++ b/src/QuickReports.py @@ -153,7 +153,7 @@ def run_quick_report_by_name_direct(report_name, database, document, handle): break if report: # FIXME: allow auto lookup of obj like below? - d = TextBufDoc(make_basic_stylesheet(), None, None) + d = TextBufDoc(make_basic_stylesheet(), None) d.dbstate = document.dbstate d.uistate = document.uistate d.open("") @@ -173,7 +173,7 @@ def run_report(dbstate, uistate, category, handle, func, **kwargs): from Simple import make_basic_stylesheet container = None if handle: - d = TextBufDoc(make_basic_stylesheet(), None, None) + d = TextBufDoc(make_basic_stylesheet(), None) d.dbstate = dbstate d.uistate = uistate if "container" in kwargs: