Removing Python 2-compatible imports of urllib.request.open and shlex.quote

This commit is contained in:
Yannick Jadoul
2020-02-04 11:58:52 +01:00
parent b900b2d51e
commit 67ec8fe99f
4 changed files with 7 additions and 26 deletions
-5
View File
@@ -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