chore: remove unused imports in our python scripts (#25406)

Seen at https://lgtm.com/projects/g/electron/electron/?mode=list&id=py%2Funused-import
and confirmed with manual inspection.
This commit is contained in:
Charles Kerr 2020-09-13 20:25:49 -05:00 committed by GitHub
parent 70e3aa0182
commit 9b08fbefe5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 5 additions and 27 deletions

View file

@ -3,7 +3,6 @@
from __future__ import print_function
import argparse
import datetime
import errno
import hashlib
import json
import mmap
@ -12,18 +11,16 @@ import shutil
import subprocess
from struct import Struct
import sys
import tempfile
sys.path.append(
os.path.abspath(os.path.dirname(os.path.abspath(__file__)) + "/../.."))
from io import StringIO
from zipfile import ZipFile
from lib.config import PLATFORM, get_target_arch, get_env_var, s3_config, \
get_zip_name
from lib.util import get_electron_branding, execute, get_electron_version, \
scoped_cwd, s3put, get_electron_exec, \
get_out_dir, SRC_DIR, ELECTRON_DIR
s3put, get_electron_exec, get_out_dir, \
SRC_DIR, ELECTRON_DIR
ELECTRON_REPO = 'electron/electron'