Rename the 'humbug' API module to 'zulip'.
(imported from commit b3a3d7c05459cbb0110cd0fbe2197d779f3a6264)
This commit is contained in:
parent
9aaefde9b2
commit
084847b0d7
26 changed files with 78 additions and 78 deletions
|
@ -40,8 +40,8 @@ import humbug_git_config as config
|
|||
if config.HUMBUG_API_PATH is not None:
|
||||
sys.path.append(config.HUMBUG_API_PATH)
|
||||
|
||||
import humbug
|
||||
client = humbug.Client(
|
||||
import zulip
|
||||
client = zulip.Client(
|
||||
email=config.HUMBUG_USER,
|
||||
site=config.HUMBUG_SITE,
|
||||
api_key=config.HUMBUG_API_KEY)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
import optparse
|
||||
import humbug
|
||||
import zulip
|
||||
|
||||
# Nagios passes the notification details as command line options.
|
||||
# In Nagios, "output" means "first line of output", and "long
|
||||
|
@ -14,7 +14,7 @@ for opt in ('type', 'host', 'service', 'state'):
|
|||
parser.add_option('--' + opt)
|
||||
(opts, args) = parser.parse_args()
|
||||
|
||||
client = humbug.Client(config_file=opts.config)
|
||||
client = zulip.Client(config_file=opts.config)
|
||||
|
||||
msg = dict(type='stream', to=opts.stream)
|
||||
|
||||
|
|
|
@ -40,8 +40,8 @@ import humbug_svn_config as config
|
|||
if config.HUMBUG_API_PATH is not None:
|
||||
sys.path.append(config.HUMBUG_API_PATH)
|
||||
|
||||
import humbug
|
||||
client = humbug.Client(
|
||||
import zulip
|
||||
client = zulip.Client(
|
||||
email=config.HUMBUG_USER,
|
||||
site=config.HUMBUG_SITE,
|
||||
api_key=config.HUMBUG_API_KEY)
|
||||
|
|
|
@ -44,8 +44,8 @@ import humbug_trac_config as config
|
|||
if config.HUMBUG_API_PATH is not None:
|
||||
sys.path.append(config.HUMBUG_API_PATH)
|
||||
|
||||
import humbug
|
||||
client = humbug.Client(
|
||||
import zulip
|
||||
client = zulip.Client(
|
||||
email=config.HUMBUG_USER,
|
||||
site=config.HUMBUG_SITE,
|
||||
api_key=config.HUMBUG_API_KEY)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue