mirror of
https://gitlab.com/jeancf/twoot.git
synced 2025-02-22 00:02:08 +00:00
Added docstring
This commit is contained in:
parent
d018cbb114
commit
19b92ecdd2
1
twoot.py
1
twoot.py
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user