Use 'Python API' as the API client string
(imported from commit 5c1f8a9c089aaed1c82729f81819b8373d796c2a)
This commit is contained in:
parent
915ba0146e
commit
da880d1015
|
@ -69,7 +69,7 @@ def init_from_options(options):
|
||||||
class Client(object):
|
class Client(object):
|
||||||
def __init__(self, email=None, api_key=None, config_file=None,
|
def __init__(self, email=None, api_key=None, config_file=None,
|
||||||
verbose=False, retry_on_errors=True,
|
verbose=False, retry_on_errors=True,
|
||||||
site=None, client="API"):
|
site=None, client="Python API"):
|
||||||
if None in (api_key, email):
|
if None in (api_key, email):
|
||||||
if config_file is None:
|
if config_file is None:
|
||||||
config_file = os.path.join(os.environ["HOME"], ".humbugrc")
|
config_file = os.path.join(os.environ["HOME"], ".humbugrc")
|
||||||
|
|
Loading…
Reference in a new issue