scripts: Remove unused imports.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2019-02-02 14:53:23 -08:00
committed by Tim Abbott
parent c109690cf8
commit e984107966
13 changed files with 13 additions and 21 deletions

View File

@@ -10,7 +10,7 @@ import subprocess
if False:
# See https://zulip.readthedocs.io/en/latest/testing/mypy.html#mypy-in-production-scripts
from typing import Any, Dict, Optional, Union
from typing import Dict
states = {
0: "OK",
@@ -49,7 +49,6 @@ output = subprocess.check_output(['/usr/sbin/rabbitmqctl', 'list_consumers'],
consumers = defaultdict(int) # type: Dict[str, int]
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))))
from scripts.lib.zulip_tools import su_to_zulip
queues = {
'deferred_work'
'digest_emails',

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env python3
import sys
import re
import time
import os