summaryrefslogtreecommitdiff
path: root/monkey/prolog
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-01-26 19:02:57 +0100
committerAleš Smodiš <aless@guru.si>2015-08-11 14:26:01 +0200
commit74ed1cd233db9bb24aecedcbdf66bc66a5c905f9 (patch)
tree341a33a051761f52492db41a0d3a38ccdac35b54 /monkey/prolog
parent60dd33f144165771881f60acb44552fb37a7d47f (diff)
Remove a superfluous try/except block
Diffstat (limited to 'monkey/prolog')
-rw-r--r--monkey/prolog/engine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/monkey/prolog/engine.py b/monkey/prolog/engine.py
index 5a640c0..af79535 100644
--- a/monkey/prolog/engine.py
+++ b/monkey/prolog/engine.py
@@ -124,7 +124,7 @@ def test(name, code):
reply = create_and_ask(code=code, query='run_tests({})'.format(name))
return reply['event'] == 'success'
except Exception as ex:
- pass
+ return False
# Basic sanity check.
if __name__ == '__main__':