From a7dd3eecaf9018fec0fdebea084d08e563b2d924 Mon Sep 17 00:00:00 2001 From: Joungjin Lee Date: Sat, 2 Mar 2024 18:44:36 +0900 Subject: [PATCH] remove unused variable --- asynq/decorators.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/asynq/decorators.py b/asynq/decorators.py index e8f1fc9..a3b62c8 100644 --- a/asynq/decorators.py +++ b/asynq/decorators.py @@ -15,7 +15,6 @@ import asyncio import inspect -import sys from typing import Any, Coroutine import qcore.decorators @@ -164,7 +163,6 @@ async def wrapped(*_args, **_kwargs): send = await asynq_to_async.resolve_awaitables(result) exception = None except Exception as exc: - traceback = sys.exc_info()[2] exception = exc self.asyncio_fn = wrapped