Commit 6f9e71bb authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

watcher: Fix breakage caused by 9bb69bb5

The first argument to str.split is the separator, not the maximum number
of splits.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent cb386168
......@@ -445,7 +445,7 @@ def _ReadInstanceStatus(filename):
logging.exception("Unable to read '%s', ignoring", filename)
return (None, None)
return (, [line.split(1)
return (, [line.split(None, 1)
for line in content.splitlines()])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment