🚨 promise.py: remove pylint warning

#529
This commit is contained in:
Jannes Höke 2017-02-27 16:23:04 +01:00
parent 69bfb85298
commit 853d823964

View file

@ -48,5 +48,5 @@ class Promise(object):
def result(self, timeout=None):
self.done.wait(timeout=timeout)
if self._exception is not None:
raise self._exception
raise self._exception # pylint: disable=raising-bad-type
return self._result