Kaydet (Commit) a26ad5a0 authored tarafından Brian Quinlan's avatar Brian Quinlan

#15015: Fix accessing an non-existing attribute.

üst 911fd327
...@@ -470,8 +470,8 @@ class Future(object): ...@@ -470,8 +470,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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment