summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrian Quinlan <brian@sweetapp.com>2012-06-11 02:59:07 (GMT)
committerBrian Quinlan <brian@sweetapp.com>2012-06-11 02:59:07 (GMT)
commita26ad5a0a177e308108867fa7dce06f1d55fa1af (patch)
tree3ff366bc35ca33a4dee1032a888b276645e95db0 /Lib
parent911fd327f1ca38035d11c5f6688d9c74e069822d (diff)
downloadcpython-a26ad5a0a177e308108867fa7dce06f1d55fa1af.zip
cpython-a26ad5a0a177e308108867fa7dce06f1d55fa1af.tar.gz
cpython-a26ad5a0a177e308108867fa7dce06f1d55fa1af.tar.bz2
#15015: Fix accessing an non-existing attribute.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/concurrent/futures/_base.py4
1 files 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):