From 999210eaa24a8a2a1b225e0a54cd4a4517e4812f Mon Sep 17 00:00:00 2001 From: Taeyeon Mori Date: Sun, 12 Nov 2017 00:24:39 +0900 Subject: [PATCH] advancedav: Fix Future context manager --- lib/python/advancedav.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/advancedav.py b/lib/python/advancedav.py index a3dd0aa..3ee26c0 100644 --- a/lib/python/advancedav.py +++ b/lib/python/advancedav.py @@ -116,7 +116,7 @@ class Future: def __enter__(self): return self.complete - def __exit__(self, exc): + def __exit__(self, tp, exc, tb): if not self.finished: if exc: self.fail(exc)