@@ -253,12 +253,12 @@ def query_tap_service(self,
253253 except pyvo .dal .exceptions .DALQueryError as e :
254254 raise pyvo .dal .exceptions .DALQueryError (f"\n \n \
255255 Error executing the following query:\n \n { query_str } \n \n \
256- See examples here: http ://archive.eso.org/tap_obs/examples\n \n " ) from e
256+ See examples here: https ://archive.eso.org/tap_obs/examples\n \n " ) from e
257257 except Exception as e :
258258 raise RuntimeError (f"\n \n \
259259 Unknown exception { e } while executing the\
260260 following query: \n \n { query_str } \n \n \
261- See examples here: http ://archive.eso.org/tap_obs/examples\n \n " ) from e
261+ See examples here: https ://archive.eso.org/tap_obs/examples\n \n " ) from e
262262
263263 if len (table_to_return ) < 1 :
264264 warnings .warn ("Query returned no results" , NoResultsWarning )
@@ -443,7 +443,7 @@ def get_headers(self, product_ids, *, cache=True):
443443 result = []
444444 for dp_id in product_ids :
445445 response = self ._request (
446- "GET" , f"http ://archive.eso.org/hdr?DpId={ dp_id } " ,
446+ "GET" , f"https ://archive.eso.org/hdr?DpId={ dp_id } " ,
447447 cache = cache )
448448 root = BeautifulSoup (response .content , 'html5lib' )
449449 hdr = root .select ('pre' )[0 ].text
@@ -500,7 +500,8 @@ def _find_cached_file(filename: str) -> bool:
500500 files_to_check .append (filename .rsplit ("." , 1 )[0 ])
501501 for file in files_to_check :
502502 if os .path .exists (file ):
503- EsoClass .log_info (f"Found cached file { file } " )
503+ logmsg = (f"Found cached file { file } " )
504+ log .info (logmsg )
504505 return True
505506 return False
506507
0 commit comments