mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
Add 'client' string to our missing integrations.
Not done: Jira, Nagios (imported from commit 3e2505653b377f8c307745e507bdc40e980dca05)
This commit is contained in:
@@ -36,6 +36,7 @@ import os.path
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
import zulip_git_config as config
|
||||
VERSION = "0.9"
|
||||
|
||||
if config.ZULIP_API_PATH is not None:
|
||||
sys.path.append(config.ZULIP_API_PATH)
|
||||
@@ -44,7 +45,8 @@ import zulip
|
||||
client = zulip.Client(
|
||||
email=config.ZULIP_USER,
|
||||
site=config.ZULIP_SITE,
|
||||
api_key=config.ZULIP_API_KEY)
|
||||
api_key=config.ZULIP_API_KEY,
|
||||
client="git " + VERSION)
|
||||
|
||||
# check_output is backported from subprocess.py in Python 2.7
|
||||
def check_output(*popenargs, **kwargs):
|
||||
|
||||
Reference in New Issue
Block a user