From 7cb9f05bbe5c8b61fa8ca385ad2fc98fb541797b Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Tue, 19 Jun 2018 18:32:30 +0100 Subject: [PATCH] commands/revent: Add dummy method to LightContext Add a dummy method to the LightContext to satisfy the API as we do not record metadata when performing revent recordings. --- wa/commands/revent.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wa/commands/revent.py b/wa/commands/revent.py index f579cf06..09a7b8bd 100644 --- a/wa/commands/revent.py +++ b/wa/commands/revent.py @@ -294,4 +294,7 @@ class LightContext(object): def get_resource(self, resource, strict=True): return self.resolver.get(resource, strict) + def update_metadata(self, key, *args): + pass + get = get_resource