From f71d5ff84d3e28e94fd92365bd0d18986de53982 Mon Sep 17 00:00:00 2001 From: Mark Adams Date: Sun, 8 Dec 2024 23:56:43 +0000 Subject: [PATCH] Same fix for load as for save --- trustgraph-cli/scripts/tg-load-kg-core | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trustgraph-cli/scripts/tg-load-kg-core b/trustgraph-cli/scripts/tg-load-kg-core index 5c2ae140..7627ac63 100755 --- a/trustgraph-cli/scripts/tg-load-kg-core +++ b/trustgraph-cli/scripts/tg-load-kg-core @@ -29,7 +29,9 @@ async def load_ge(running, queue, url): try: msg = await asyncio.wait_for(queue.get(), 1) - except TimeoutError: + except: + # Hopefully it's TimeoutError. Annoying to match since + # it changed in 3.11. continue msg = {