diff options
author | Sergei Trofimov <sergei.trofimov@arm.com> | 2018-06-18 17:45:21 +0100 |
---|---|---|
committer | Sergei Trofimov <sergei.trofimov@arm.com> | 2018-06-18 17:47:44 +0100 |
commit | 88731fe4895fd442719d1d0f08f6a1ca12360148 (patch) | |
tree | f692debfa2969199bb5d662d756acf1a82b12bc0 /wa/commands | |
parent | 4a06c1373884c27aa6724e33ca62b2fe5de87573 (diff) |
command/revent: Fix resolver call
Call resolver's get() method, rather than get_resource(), incorrectly
introduced in the previous commit. Also add get() alias to the context
to allow it to be used as a resolver.
Diffstat (limited to 'wa/commands')
-rw-r--r-- | wa/commands/revent.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wa/commands/revent.py b/wa/commands/revent.py index ea14b40f..f579cf06 100644 --- a/wa/commands/revent.py +++ b/wa/commands/revent.py @@ -292,4 +292,6 @@ class LightContext(object): self.resolver.load() def get_resource(self, resource, strict=True): - return self.resolver.get_resource(resource, strict) + return self.resolver.get(resource, strict) + + get = get_resource |