mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] Remove unneeded code
This commit is contained in:
parent
cafd0dd884
commit
7732136b75
1 changed files with 0 additions and 4 deletions
|
@ -182,10 +182,6 @@ def log_display(path, number=50, share=False):
|
|||
metadata = yaml.safe_load(md_file)
|
||||
infos['metadata_path'] = md_path
|
||||
infos['metadata'] = metadata
|
||||
if 'started_at' in infos['metadata']:
|
||||
infos['metadata']['started_at'] = infos['metadata']['started_at']
|
||||
if 'ended_at' in infos['metadata']:
|
||||
infos['metadata']['ended_at'] = infos['metadata']['ended_at']
|
||||
if 'log_path' in metadata:
|
||||
log_path = metadata['log_path']
|
||||
except yaml.YAMLError:
|
||||
|
|
Loading…
Add table
Reference in a new issue