cleanup: Remove unused imports.

Generated by autoflake.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2020-04-18 16:00:35 -07:00 committed by Tim Abbott
parent 64d2f5ac32
commit 2f6623bbc4
61 changed files with 25 additions and 91 deletions

View file

@ -2,7 +2,6 @@
import sys
import time
import optparse
import os
import random
import logging
import subprocess

View file

@ -12,7 +12,6 @@ from zephyr_mirror_backend import parse_args
(options, args) = parse_args()
from types import FrameType
from typing import Any
def die(signal: int, frame: FrameType) -> None:
@ -44,7 +43,6 @@ if options.forward_class_messages and not options.noshard:
return 0
for (status, job) in run_parallel(run_job, jobs, threads=16):
print("A mirroring shard died!")
pass
sys.exit(0)
backoff = RandomExponentialBackoff(timeout_success_equivalent=300)

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python3
from typing import IO, Any, Dict, List, Text, Union, Set, Tuple, Optional, cast
from typing import Any, Dict, IO, List, Optional, Set, Text, Tuple, cast
from types import FrameType
import sys
@ -10,7 +10,6 @@ import time
import subprocess
import optparse
import os
import datetime
import textwrap
import signal
import logging