Fix all PEP-008 issues

This commit is contained in:
Nicola Soranzo
2020-02-14 15:50:06 +00:00
parent 1e420a9b57
commit cab6ecef24
34 changed files with 175 additions and 65 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
import os
import urllib.request
from fnmatch import fnmatch
import warnings
import os, urllib.request
from time import sleep
@@ -64,7 +64,7 @@ def download(url, dest):
for i in range(repeat_num):
try:
response = urllib.request.urlopen(url)
except:
except Exception:
if i == repeat_num - 1:
raise
sleep(3)