commit 2e18e3c62b5bbe43370175febe6a29d3149354de
parent a3fb865db0d4e1e9fff5c1494bcc5423e1e1e5e7
Author: SomberNight <somber.night@protonmail.com>
Date: Wed, 12 Sep 2018 22:09:59 +0200
adapt to aiorpcx 0.8.1: rm report_crash kwarg from group.spawn
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/electrum/util.py b/electrum/util.py
@@ -870,9 +870,8 @@ def make_aiohttp_session(proxy):
class SilentTaskGroup(TaskGroup):
- def spawn(self, *args, report_crash=None, **kwargs):
+ def spawn(self, *args, **kwargs):
# don't complain if group is already closed.
if self._closed:
raise asyncio.CancelledError()
- # ignore value of report_crash, and force it to False
- return super().spawn(*args, **kwargs, report_crash=False)
+ return super().spawn(*args, **kwargs)