livemedia-creator: Fail when there are missing packages

Watch the logs for  WARNING packaging: .* requires .* which indicates
that there are missing packages and it is sitting at a prompt waiting
for user input.
This commit is contained in:
Brian C. Lane 2014-05-28 10:54:37 -07:00
parent 5f9cb25baf
commit d79222e8ea

View File

@ -140,7 +140,8 @@ class LogRequestHandler(SocketServer.BaseRequestHandler):
"Out of memory:", "Out of memory:",
"Call Trace:", "Call Trace:",
"insufficient disk space:"] "insufficient disk space:"]
re_tests = [r"WARNING packaging: base repo .* not valid"] re_tests = [r"WARNING packaging: base repo .* not valid",
r"WARNING packaging: .* requires .*"]
for t in simple_tests: for t in simple_tests:
if t in line: if t in line:
self.server.log_error = True self.server.log_error = True