From a26ad5a0a177e308108867fa7dce06f1d55fa1af Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Mon, 11 Jun 2012 12:59:07 +1000 Subject: #15015: Fix accessing an non-existing attribute. --- Lib/concurrent/futures/_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py index 88b5fbd..1e098be 100644 --- a/Lib/concurrent/futures/_base.py +++ b/Lib/concurrent/futures/_base.py @@ -470,8 +470,8 @@ class Future(object): return True else: LOGGER.critical('Future %s in unexpected state: %s', - id(self.future), - self.future._state) + id(self), + self._state) raise RuntimeError('Future in unexpected state') def set_result(self, result): -- cgit v0.12