From: Brian Quinlan Date: Mon, 11 Jun 2012 02:59:07 +0000 (+1000) Subject: #15015: Fix accessing an non-existing attribute. X-Git-Tag: v3.3.0b1~242^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a26ad5a0a177e308108867fa7dce06f1d55fa1af;p=python #15015: Fix accessing an non-existing attribute. --- diff --git a/Lib/concurrent/futures/_base.py b/Lib/concurrent/futures/_base.py index 88b5fbdd86..1e098be33f 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):