diff options
Diffstat (limited to 'tools/patman/patchwork.py')
| -rw-r--r-- | tools/patman/patchwork.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/patman/patchwork.py b/tools/patman/patchwork.py index 8b0968c5765..2b7734bbfe4 100644 --- a/tools/patman/patchwork.py +++ b/tools/patman/patchwork.py @@ -9,6 +9,7 @@ import asyncio import re import aiohttp +from u_boot_pylib import terminal # Number of retries RETRIES = 3 @@ -188,13 +189,6 @@ class Patchwork: if i == RETRIES: raise - async def session_request(self, subpath): - async with aiohttp.ClientSession() as client: - return await self._request(client, subpath) - - def request(self, subpath): - return asyncio.run(self.session_request(subpath)) - @staticmethod def for_testing(func): """Get an instance to use for testing |
