check-mirroring: Add subscriptions inside IOError check.
(imported from commit d3b00ce9d91a0bcffcef58436a4b90770155fce9)
This commit is contained in:
parent
4903843151
commit
fcf24e30f5
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in a new issue