@@ -112,7 +112,6 @@ def download_url(
112112
113113    # check if file is already present locally 
114114    if  check_integrity (fpath , md5 ):
115-         print ("Using downloaded and verified file: "  +  fpath )
116115        return 
117116
118117    if  _is_remote_location_available ():
@@ -128,12 +127,10 @@ def download_url(
128127
129128        # download the file 
130129        try :
131-             print ("Downloading "  +  url  +  " to "  +  fpath )
132130            _urlretrieve (url , fpath )
133131        except  (urllib .error .URLError , OSError ) as  e :  # type: ignore[attr-defined] 
134132            if  url [:5 ] ==  "https" :
135133                url  =  url .replace ("https:" , "http:" )
136-                 print ("Failed download. Trying https -> http instead. Downloading "  +  url  +  " to "  +  fpath )
137134                _urlretrieve (url , fpath )
138135            else :
139136                raise  e 
@@ -204,7 +201,6 @@ def download_file_from_google_drive(
204201    os .makedirs (root , exist_ok = True )
205202
206203    if  check_integrity (fpath , md5 ):
207-         print (f"Using downloaded { 'and verified '  if  md5  else  '' } { fpath }  )
208204        return 
209205
210206    gdown .download (id = file_id , output = fpath , quiet = False , user_agent = USER_AGENT )
@@ -395,7 +391,6 @@ def download_and_extract_archive(
395391    download_url (url , download_root , filename , md5 )
396392
397393    archive  =  os .path .join (download_root , filename )
398-     print (f"Extracting { archive } { extract_root }  )
399394    extract_archive (archive , extract_root , remove_finished )
400395
401396
0 commit comments