From 813b804c5af02718087f737437671cf33bc51466 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl>
Date: Wed, 20 May 2020 17:41:20 +0200
Subject: [PATCH] fix utils

---
 coolamqp/attaches/utils.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/coolamqp/attaches/utils.py b/coolamqp/attaches/utils.py
index 603f891..5fe5686 100644
--- a/coolamqp/attaches/utils.py
+++ b/coolamqp/attaches/utils.py
@@ -9,7 +9,7 @@ from concurrent.futures import Future
 logger = logging.getLogger(__name__)
 
 
-def close_future(fut: Future, span):  # type: (Future, opentracing.Span) -> Future
+def close_future(fut, span):  # type: (Future, opentracing.Span) -> Future
     """
     To be called as a Future callback, means to close the span
     """
@@ -18,7 +18,7 @@ def close_future(fut: Future, span):  # type: (Future, opentracing.Span) -> Futu
     except ImportError:
         return fut
 
-    def inner_close(fut):
+    def inner_close(fut):   # type: (Future) -> None
         exc = fut.exception()
         if exc is not None:
             from opentracing import Span
-- 
GitLab