From b1db542cb9b34dba74de7944cc1d8dc769f1db33 Mon Sep 17 00:00:00 2001 From: prculley Date: Mon, 5 Feb 2018 09:40:18 -0600 Subject: [PATCH] Fix several intl date displayers for missing parameter. Fixes #10196 --- gramps/gen/datehandler/_date_de.py | 2 +- gramps/gen/datehandler/_date_el.py | 2 +- gramps/gen/datehandler/_date_lt.py | 2 +- gramps/gen/datehandler/_date_nl.py | 2 +- gramps/gen/datehandler/_date_pl.py | 2 +- gramps/gen/datehandler/_date_sr.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gramps/gen/datehandler/_date_de.py b/gramps/gen/datehandler/_date_de.py index 3ba9993fa..4bb37cc8f 100644 --- a/gramps/gen/datehandler/_date_de.py +++ b/gramps/gen/datehandler/_date_de.py @@ -292,7 +292,7 @@ class DateDisplayDE(DateDisplay): ) # this definition must agree with its "_display_gregorian" method - def _display_gregorian(self, date_val): + def _display_gregorian(self, date_val, **kwargs): """ display gregorian calendar date in different format """ diff --git a/gramps/gen/datehandler/_date_el.py b/gramps/gen/datehandler/_date_el.py index e1425132e..5668f9a69 100644 --- a/gramps/gen/datehandler/_date_el.py +++ b/gramps/gen/datehandler/_date_el.py @@ -155,7 +155,7 @@ class DateDisplayEL(DateDisplay): ) # this definition must agree with its "_display_gregorian" method - def _display_gregorian(self, date_val): + def _display_gregorian(self, date_val, **kwargs): """ display gregorian calendar date in different format """ diff --git a/gramps/gen/datehandler/_date_lt.py b/gramps/gen/datehandler/_date_lt.py index c706ab5fc..072ee8747 100644 --- a/gramps/gen/datehandler/_date_lt.py +++ b/gramps/gen/datehandler/_date_lt.py @@ -187,7 +187,7 @@ class DateDisplayLT(DateDisplay): "mmmm m. mėnesio diena d.", "Mėn diena, metai") # this definition must agree with its "_display_gregorian" method - def _display_gregorian(self, date_val): + def _display_gregorian(self, date_val, **kwargs): """ display gregorian calendar date in different format """ diff --git a/gramps/gen/datehandler/_date_nl.py b/gramps/gen/datehandler/_date_nl.py index bcdf94bbd..5da036cfd 100644 --- a/gramps/gen/datehandler/_date_nl.py +++ b/gramps/gen/datehandler/_date_nl.py @@ -164,7 +164,7 @@ class DateDisplayNL(DateDisplay): ) # this definition must agree with its "_display_gregorian" method - def _display_gregorian(self, date_val): + def _display_gregorian(self, date_val, **kwargs): """ display gregorian calendar date in different format """ diff --git a/gramps/gen/datehandler/_date_pl.py b/gramps/gen/datehandler/_date_pl.py index acfa6ec5d..3bec0a5e0 100644 --- a/gramps/gen/datehandler/_date_pl.py +++ b/gramps/gen/datehandler/_date_pl.py @@ -215,7 +215,7 @@ class DateDisplayPL(DateDisplay): "XII" ) - def _display_gregorian(self, date_val): + def _display_gregorian(self, date_val, **kwargs): """ display gregorian calendar date in different format """ diff --git a/gramps/gen/datehandler/_date_sr.py b/gramps/gen/datehandler/_date_sr.py index 81e9aceb1..c77c16fb6 100644 --- a/gramps/gen/datehandler/_date_sr.py +++ b/gramps/gen/datehandler/_date_sr.py @@ -240,7 +240,7 @@ class DateDisplaySR_Base(DateDisplay): "VII", "VIII", "IX", "X", "XI", "XII" ) - def _display_gregorian(self, date_val): + def _display_gregorian(self, date_val, **kwargs): """ display gregorian calendar date in different format """