Make tools/update-deployment pass mypy check.

This commit is contained in:
Eklavya Sharma
2016-07-24 22:51:04 +05:30
parent fb62e5c7bd
commit 29af1419db
2 changed files with 2 additions and 3 deletions

View File

@@ -1,12 +1,12 @@
#!/usr/bin/env python
from __future__ import print_function
import os
import six.moves.configparser
from six.moves import configparser # type: ignore # https://github.com/python/typeshed/issues/307
import sys
import subprocess
import logging
config_file = six.moves.configparser.RawConfigParser()
config_file = configparser.RawConfigParser()
config_file.read("/etc/zulip/zulip.conf")
ZULIP_COM = config_file.get('machine', 'deploy_type') in ['zulip.com-prod',