Fixed log message using nonexistent variables as input

This commit is contained in:
Alex Grönholm 2015-05-03 01:27:13 +03:00
parent 50453b257b
commit dac160bf5c
2 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
- Dropped Python 2.5 and 3.1 support
- Removed the deprecated "futures" top level package
- Applied patch for issue 15015 (accessing an non-existing attribute)
- Applied patch for issue 16284 (memory leak)

View File

@ -490,8 +490,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):