git.graph-it.com
/
graphit
/
controlpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bb7b51
)
Fix for Python versions without asyncio.exceptions.
author
Benjamin Braatz
<benjamin.braatz@graph-it.com>
Wed, 16 Jun 2021 10:26:30 +0000
(12:26 +0200)
committer
Benjamin Braatz
<benjamin.braatz@graph-it.com>
Wed, 16 Jun 2021 10:26:30 +0000
(12:26 +0200)
controlpi/__init__.py
patch
|
blob
|
history
diff --git
a/controlpi/__init__.py
b/controlpi/__init__.py
index fae63ec44d0712743c8f247c46797b99ec32759c..cca0c2428e0516e196930f8f7e6388b3ff98e1fe 100644
(file)
--- a/
controlpi/__init__.py
+++ b/
controlpi/__init__.py
@@
-89,7
+89,7
@@
async def run(conf: Dict[str, PluginConf]) -> None:
coroutines = _process_conf(message_bus, conf)
try:
await asyncio.gather(*coroutines)
- except asyncio.
exceptions.
CancelledError:
+ except asyncio.CancelledError:
pass