better printout

This commit is contained in:
Robin Müller 2022-09-14 17:35:33 +02:00
parent 0e1d451651
commit 0faccfb456
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814

View File

@ -108,13 +108,13 @@ class ExampleCfdpFaultHandler(DefaultFaultHandlerBase):
class ExampleCfdpUser(CfdpUserBase):
def transaction_indication(self, transaction_id: TransactionId):
pass
LOGGER.info(f"CFDP User: Start of File {transaction_id}")
def eof_sent_indication(self, transaction_id: TransactionId):
pass
LOGGER.info(f"CFDP User: EOF sent for {transaction_id}")
def transaction_finished_indication(self, params: TransactionFinishedParams):
pass
LOGGER.info(f"CFDP User: {params.transaction_id} finished")
def metadata_recv_indication(self, params: MetadataRecvParams):
pass
@ -424,7 +424,9 @@ class TcHandler(TcHandlerBase):
):
put_req = cfdp_procedure.request_wrapper.to_put_request()
put_req.cfg.destination_id = self.cfdp_dest_id
LOGGER.info(f"CFDP: Starting file put request with parameters:\n{put_req}")
LOGGER.info(
f"CFDP: Starting file put request with parameters:\n{put_req}"
)
self.cfdp_in_ccsds_wrapper.handler.put_request(put_req)
self.cfdp_handler_started = True
(