From 2e18e3c62b5bbe43370175febe6a29d3149354de Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 12 Sep 2018 22:09:59 +0200 Subject: [PATCH] adapt to aiorpcx 0.8.1: rm report_crash kwarg from group.spawn --- electrum/util.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/electrum/util.py b/electrum/util.py index c9fbf72ea..72b8c3be1 100644 --- 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)