generate_secrets: Fix placement of mypy type: ignore.

This commit is contained in:
Tim Abbott
2017-05-17 00:05:57 -07:00
parent a6af57e90d
commit 11adbf5783

View File

@@ -59,9 +59,9 @@ def get_old_conf(output_filename):
return {}
secrets_file = six.moves.configparser.RawConfigParser()
secrets_file.read(output_filename) # type: ignore
secrets_file.read(output_filename)
return dict(secrets_file.items("secrets"))
return dict(secrets_file.items("secrets")) # type: ignore
def generate_secrets(development=False):
# type: (bool) -> None