changeset da06013a9bef in trytond:default
details: https://hg.tryton.org/trytond?cmd=changeset;node=da06013a9bef
description:
        Remove unused ReportFactory

        issue9654
diffstat:

 trytond/report/report.py |  10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diffs (20 lines):

diff -r e356d97a0f59 -r da06013a9bef trytond/report/report.py
--- a/trytond/report/report.py  Sun Oct 11 13:32:18 2020 +0200
+++ b/trytond/report/report.py  Sun Oct 11 17:15:10 2020 +0200
@@ -87,16 +87,6 @@
 TIMEDELTA_DEFAULT_CONVERTER['Y'] = TIMEDELTA_DEFAULT_CONVERTER['d'] * 365
 
 
-class ReportFactory:
-
-    def __call__(self, records, **kwargs):
-        data = {}
-        data['objects'] = records  # XXX To remove
-        data['records'] = records
-        data.update(kwargs)
-        return data
-
-
 class TranslateFactory:
 
     def __init__(self, report_name, translation):

Reply via email to