generate_secrets: Silence mypy error with configparser.

See https://github.com/python/typeshed/issues/307.
This commit is contained in:
Tim Abbott 2016-06-20 08:57:32 -07:00
parent eb71173be3
commit f7ce5fc179
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ def get_old_conf(output_filename):
if not os.path.exists(output_filename):
return {}
secrets_file = six.moves.configparser.RawConfigParser()
secrets_file = six.moves.configparser.RawConfigParser() # type: ignore # https://github.com/python/typeshed/issues/307
secrets_file.read(output_filename)
def get_secret(key):