Rename Humbug-based variables/paths in git plugin.
(imported from commit e153c7a1a68e82dd3fa45251644be74c62770a9d)
This commit is contained in:
parent
4b0992ab94
commit
f36c132578
3 changed files with 13 additions and 13 deletions
|
@ -37,14 +37,14 @@ import os.path
|
|||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
import zulip_git_config as config
|
||||
|
||||
if config.HUMBUG_API_PATH is not None:
|
||||
sys.path.append(config.HUMBUG_API_PATH)
|
||||
if config.ZULIP_API_PATH is not None:
|
||||
sys.path.append(config.ZULIP_API_PATH)
|
||||
|
||||
import zulip
|
||||
client = zulip.Client(
|
||||
email=config.HUMBUG_USER,
|
||||
site=config.HUMBUG_SITE,
|
||||
api_key=config.HUMBUG_API_KEY)
|
||||
email=config.ZULIP_USER,
|
||||
site=config.ZULIP_SITE,
|
||||
api_key=config.ZULIP_API_KEY)
|
||||
|
||||
# check_output is backported from subprocess.py in Python 2.7
|
||||
def check_output(*popenargs, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue