@@ -605,23 +605,20 @@ def get_status_messages(self, verbose=False):
605605 flag to display information about the process
606606
607607 """
608- try :
609- sub_context = self .EUCLID_MESSAGES
610- conn_handler = self ._TapPlus__getconnhandler ()
611- response = conn_handler .execute_tapget (sub_context , verbose = verbose )
612- if response .status == 200 :
613- if isinstance (response , Iterable ):
614- for line in response :
615-
616- try :
617- print (line .decode ("utf-8" ).split ('=' , 1 )[1 ])
618- except ValueError as e :
619- print (e )
620- except IndexError :
621- print ("Archive down for maintenance" )
622-
623- except OSError :
624- print ("Status messages could not be retrieved" )
608+ sub_context = self .EUCLID_MESSAGES
609+ conn_handler = self ._TapPlus__getconnhandler ()
610+ response = conn_handler .execute_tapget (sub_context , verbose = verbose )
611+ if response .status == 200 :
612+ if isinstance (response , Iterable ):
613+ for line in response :
614+
615+ try :
616+ print (line .decode ("utf-8" ).split ('=' , 1 )[1 ])
617+ except ValueError as e :
618+ print (e )
619+ except IndexError :
620+ print ("Archive down for maintenance" )
621+
625622
626623 @staticmethod
627624 def __set_dirs (output_file , observation_id ):
@@ -1443,4 +1440,4 @@ def get_scientific_product_list(self, *, observation_id=None, tile_index=None, c
14431440 return job .get_results ()
14441441
14451442
1446- Euclid = EuclidClass ()
1443+ Euclid = EuclidClass (show_server_messages = False )
0 commit comments