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):
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):
......
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