From fcf24e30f5d4d471513a836a5d6334e13fc46d68 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 26 Nov 2012 11:47:26 -0500 Subject: [PATCH] check-mirroring: Add subscriptions inside IOError check. (imported from commit d3b00ce9d91a0bcffcef58436a4b90770155fce9) --- bots/check-mirroring | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bots/check-mirroring b/bots/check-mirroring index 78f3729..2701f3f 100755 --- a/bots/check-mirroring +++ b/bots/check-mirroring @@ -119,14 +119,14 @@ else: import zephyr try: zephyr.init() + subs = zephyr.Subscriptions() + subs.add(('message', 'personal', 'tabbott/extra@ATHENA.MIT.EDU')) + subs.add(('tabbott-nagios-test', '*', '*')) except IOError, e: if "SERVNAK received" in e: print "SERVNAK received, punting rest of test" print_status_and_exit(0) - subs = zephyr.Subscriptions() - subs.add(('message', 'personal', 'tabbott/extra@ATHENA.MIT.EDU')) - subs.add(('tabbott-nagios-test', '*', '*')) max_message_id = humbug_client.get_profile()['max_message_id']