From af8bc42cc242e1bf26da5f7abb1421f59841c993 Mon Sep 17 00:00:00 2001 From: Marc Bonnici Date: Mon, 25 Jun 2018 16:10:50 +0100 Subject: [PATCH] doc: Update resolver example to use context directly --- .../developer_information/developer_guide/writing_plugins.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/developer_information/developer_guide/writing_plugins.rst b/doc/source/developer_information/developer_guide/writing_plugins.rst index 12c9ae1a..811a5738 100644 --- a/doc/source/developer_information/developer_guide/writing_plugins.rst +++ b/doc/source/developer_information/developer_guide/writing_plugins.rst @@ -239,7 +239,7 @@ binary has been previously deployed by WA and will not try to re-install. from wa import Executable - host_binary = context.resolver.get(Executable(self, self.target.abi, 'some_binary')) + host_binary = context.get(Executable(self, self.target.abi, 'some_binary')) target_binary = self.target.install_if_needed(host_binary)