diff --git a/src/commands.py b/src/commands.py index c7f016370..fb905ee69 100644 --- a/src/commands.py +++ b/src/commands.py @@ -82,7 +82,7 @@ def process(f, *args, **kwargs): p.join(timeout) if p.is_alive(): p.terminate() - q.put("%s aborted due to timeout." % (p.name,)) + return "%s aborted due to timeout." % (p.name,) try: v = q.get(block=False) except Queue.Empty: