Added docstring

This commit is contained in:
jeancf 2022-12-05 11:53:29 +01:00
parent d018cbb114
commit 19b92ecdd2

View File

@ -539,6 +539,7 @@ def login(password):
def terminate(exit_code):
"""
Cleanly stop execution with a message on execution duration
Remove log messages older that duration specified in config from log file
:param exit_code: return value to pass to shell when exiting
"""
logging.info('Run time : {t:2.1f} seconds.'.format(t=time.time() - START_TIME))