mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
generate_secrets: Silence mypy error with configparser.
See https://github.com/python/typeshed/issues/307.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user