Use 'Python API' as the API client string

(imported from commit 5c1f8a9c089aaed1c82729f81819b8373d796c2a)
This commit is contained in:
Luke Faraone 2013-03-26 13:04:49 -07:00
parent 915ba0146e
commit da880d1015

View file

@ -69,7 +69,7 @@ def init_from_options(options):
class Client(object):
def __init__(self, email=None, api_key=None, config_file=None,
verbose=False, retry_on_errors=True,
site=None, client="API"):
site=None, client="Python API"):
if None in (api_key, email):
if config_file is None:
config_file = os.path.join(os.environ["HOME"], ".humbugrc")