homu
homu copied to clipboard
UnboundLocalError
We're getting the following error on some WebRender PRs:
Traceback (most recent call last):
File "/home/servo/homu/_venv/bin/bottle.py", line 862, in _handle
return route.call(**args)
File "/home/servo/homu/_venv/bin/bottle.py", line 1732, in wrapper
rv = callback(*a, **ka)
File "/home/servo/homu/_venv/lib/python3.4/site-packages/homu/server.py", line 392, in github
realtime=True,
File "/home/servo/homu/_venv/lib/python3.4/site-packages/homu/main.py", line 392, in parse_commands
if 'authzfail' in res.text:
UnboundLocalError: local variable 'res' referenced before assignment
^C
cc @Manishearth @edunham
This is an example of one of the triggering PRs: https://github.com/servo/webrender/pull/571
That's a response to @bors-servo force on a non-buildbot PR.
Aha :-) Hrm, then I wonder why the tests / merging isn't happening for WR?
No idea :(