tools/api_key_tool.py
def remove_api_key(file_name):
    """
    Change the api key in the Token object to 40*'0'.  See issue #86.
    :param file: path-to-file to change
    """
    with open(file_name, 'r') as fp:
        text = fp.read()
    text = re.sub(real_api_regex, zero_token_string, text)
    with open(file_name, 'w') as fp:
        fp.write(text)
    return
def remove_api_key(file_name):
    """
    Change the api key in the Token object to 40*'0'.  See issue #86.
    :param file: path-to-file to change
    """
    with open(file_name, 'r') as fp:
        text = fp.read()
    text = re.sub(real_api_regex, zero_token_string, text)
    with open(file_name, 'w') as fp:
        fp.write(text)
    return
Change the api key in the Token object to 40*'0'.  See issue #86.
    :param file: path-to-file to change