@@ -754,23 +754,20 @@ def get_status_messages(self, verbose=False):
754754 flag to display information about the process
755755
756756 """
757- try :
758- sub_context = self .EUCLID_MESSAGES
759- conn_handler = self ._TapPlus__getconnhandler ()
760- response = conn_handler .execute_tapget (sub_context , verbose = verbose )
761- if response .status == 200 :
762- if isinstance (response , Iterable ):
763- for line in response :
764-
765- try :
766- print (line .decode ("utf-8" ).split ('=' , 1 )[1 ])
767- except ValueError as e :
768- print (e )
769- except IndexError :
770- print ("Archive down for maintenance" )
771-
772- except OSError :
773- print ("Status messages could not be retrieved" )
757+ sub_context = self .EUCLID_MESSAGES
758+ conn_handler = self ._TapPlus__getconnhandler ()
759+ response = conn_handler .execute_tapget (sub_context , verbose = verbose )
760+ if response .status == 200 :
761+ if isinstance (response , Iterable ):
762+ for line in response :
763+
764+ try :
765+ print (line .decode ("utf-8" ).split ('=' , 1 )[1 ])
766+ except ValueError as e :
767+ print (e )
768+ except IndexError :
769+ print ("Archive down for maintenance" )
770+
774771
775772 @staticmethod
776773 def __set_dirs (output_file , observation_id ):
@@ -1601,4 +1598,4 @@ def get_scientific_product_list(self, *, observation_id=None, tile_index=None, c
16011598 return job .get_results ()
16021599
16031600
1604- Euclid = EuclidClass ()
1601+ Euclid = EuclidClass (show_server_messages = False )
0 commit comments