修改 travis 在 py3 时的语法错误
This commit is contained in:
parent
59c99caf18
commit
ad42d4ddac
@ -30,7 +30,7 @@ class Promise(object):
|
||||
raise res[1]
|
||||
else:
|
||||
et, ev, tb = res[1]
|
||||
raise et, ev, tb
|
||||
raise et(ev).with_traceback(tb)
|
||||
|
||||
def set_exception(self, valueOrType, val=None, tb=None):
|
||||
if val is None:
|
||||
|
Loading…
Reference in New Issue
Block a user