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
|
- Dropped Python 2.5 and 3.1 support
|
||||||
- Removed the deprecated "futures" top level package
|
- Removed the deprecated "futures" top level package
|
||||||
|
- Applied patch for issue 15015 (accessing an non-existing attribute)
|
||||||
- Applied patch for issue 16284 (memory leak)
|
- Applied patch for issue 16284 (memory leak)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -490,8 +490,8 @@ class Future(object):
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
LOGGER.critical('Future %s in unexpected state: %s',
|
LOGGER.critical('Future %s in unexpected state: %s',
|
||||||
id(self.future),
|
id(self),
|
||||||
self.future._state)
|
self._state)
|
||||||
raise RuntimeError('Future in unexpected state')
|
raise RuntimeError('Future in unexpected state')
|
||||||
|
|
||||||
def set_result(self, result):
|
def set_result(self, result):
|
||||||
|
|
Loading…
Reference in New Issue