From cffbd2493c6b3dedb1091e85a9675f2e294ea838 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 18 Jun 2009 22:44:03 +0000 Subject: break out of the log append loop even if the pd process died without sending 'EOF on socket' svn path=/trunk/; revision=11800 --- scripts/load_every_help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/load_every_help.py b/scripts/load_every_help.py index 415b7f14..5096c671 100755 --- a/scripts/load_every_help.py +++ b/scripts/load_every_help.py @@ -149,7 +149,7 @@ for root, dirs, files in os.walk(docdir): while True: line = p.stdout.readline() m = re.search('EOF on socket', line) - if not m: + if not m and line: patchoutput.append(line) else: break -- cgit v1.2.1