From 80075923ae18db274d224260888bb12ce5056ea1 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 11 Dec 2012 08:55:17 -0500 Subject: [PATCH] check-mirroring: 'Detected server failure' notices go to stdout, not stderr. (imported from commit 9118b59130aaad274180c3c639ec897bc5634b9f) --- bots/check-mirroring | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/check-mirroring b/bots/check-mirroring index 143e25a..ea00a2a 100755 --- a/bots/check-mirroring +++ b/bots/check-mirroring @@ -111,7 +111,7 @@ def send_zephyr(zwrite_args, content, retry=False): stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout, stderr = p.communicate(input=content.encode("utf-8")) if p.returncode != 0: - if not retry and "Detected server failure while receiving acknowledgement for" in stderr: + if not retry and "Detected server failure while receiving acknowledgement for" in stdout: logger.warning("Got server failure error sending zephyr; retrying") logger.warning(stderr) # Retry sending the message rather than bailing.