Fixed log message using nonexistent variables as input
This commit is contained in:
parent
50453b257b
commit
dac160bf5c
1
CHANGES
1
CHANGES
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue