From a4e66b84d71ebf0c34d879a695b79fe28ba3add9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Wed, 17 Feb 2016 09:07:59 +0100 Subject: [PATCH] avocado.core.html: Add "update" hook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This hook is used by older pystache (pystache==0.4.1). We don't use it so let's simply ignore it. Signed-off-by: Lukáš Doktor --- avocado/core/html.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/avocado/core/html.py b/avocado/core/html.py index e0c6e869..d8a08a3e 100644 --- a/avocado/core/html.py +++ b/avocado/core/html.py @@ -56,6 +56,12 @@ class ReportModel(object): self.html_output = html_output self.html_output_dir = os.path.abspath(os.path.dirname(html_output)) + def update(self, **kwargs): + """ + Hook for updates not supported + """ + pass + def get(self, key, default): value = getattr(self, key, default) if callable(value): -- GitLab