summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzshi <zshi@redhat.com>2016-11-28 12:49:19 +0800
committerzshi <zshi@redhat.com>2016-11-28 12:49:19 +0800
commit3280c6bb0cc2f91821a2f621942c840c6546e073 (patch)
treee89bf90349890c83f91d296ad259e80bef6d5ecf
parent042dcda01c51493eda99b7a835cdbd59c1ae12b0 (diff)
fix flake8 test error for ez_setup.py
Change-Id: Ibb764a41bac05599645d283c5fe3dbe409b2b006 Signed-off-by: zshi <zshi@redhat.com>
-rw-r--r--ez_setup.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ez_setup.py b/ez_setup.py
index 4ef3ee01..36da1e62 100644
--- a/ez_setup.py
+++ b/ez_setup.py
@@ -125,7 +125,7 @@ def _do_download(version, download_base, to_dir, download_delay):
egg = os.path.join(to_dir, tp.format(**locals()))
if not os.path.exists(egg):
archive = download_setuptools(version, download_base,
- to_dir, download_delay)
+ to_dir, download_delay)
_build_egg(egg, archive, to_dir)
sys.path.insert(0, egg)
@@ -235,7 +235,8 @@ def download_file_powershell(url, target):
ps_cmd = (
"[System.Net.WebRequest]::DefaultWebProxy.Credentials = "
"[System.Net.CredentialCache]::DefaultCredentials; "
- '(new-object System.Net.WebClient).DownloadFile("%(url)s", "%(target)s")'
+ '(new-object System.Net.WebClient).DownloadFile("%(url)s", \
+ "%(target)s")'
% locals()
)
cmd = [