From f294a49f0bd8cce85b61a25d475199f93d88d913 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 14 Jan 2022 11:28:38 +0100 Subject: [PATCH] Add self argument to non-static method Signed-off-by: Olivier Gayot --- subiquity/common/ubuntu_advantage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subiquity/common/ubuntu_advantage.py b/subiquity/common/ubuntu_advantage.py index 8c617953..cf9d61e4 100644 --- a/subiquity/common/ubuntu_advantage.py +++ b/subiquity/common/ubuntu_advantage.py @@ -58,7 +58,7 @@ class CheckSubscriptionError(Exception): class UAInterfaceStrategy(ABC): """ Strategy to query information about a UA subscription. """ @abstractmethod - async def query_info(token: str) -> dict: + async def query_info(self, token: str) -> dict: """ Return information about the UA subscription based on the token provided. """