Removing Python 2-compatible imports of urllib.request.open and shlex.quote
This commit is contained in:
@@ -3,11 +3,6 @@ import os, tempfile, subprocess, shutil, sys
|
||||
from collections import namedtuple
|
||||
from glob import glob
|
||||
|
||||
try:
|
||||
from shlex import quote as shlex_quote
|
||||
except ImportError:
|
||||
from pipes import quote as shlex_quote
|
||||
|
||||
from .util import prepare_command, get_build_verbosity_extra_flags, download
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user