fix flake8 test error for ez_setup.py 65/24965/1
authorzshi <zshi@redhat.com>
Mon, 28 Nov 2016 04:49:19 +0000 (12:49 +0800)
committerzshi <zshi@redhat.com>
Mon, 28 Nov 2016 04:49:19 +0000 (12:49 +0800)
Change-Id: Ibb764a41bac05599645d283c5fe3dbe409b2b006
Signed-off-by: zshi <zshi@redhat.com>
ez_setup.py

index 4ef3ee0..36da1e6 100644 (file)
@@ -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 = [