mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
Make tools/update-deployment pass mypy check.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user