Fix logic

This commit is contained in:
Pedro Algarvio 2014-04-27 13:56:17 +01:00
parent 4f0d00fa1c
commit 9a20d4f43a

View file

@ -281,7 +281,7 @@ def download_remote_logs(options):
remote_log,
'{0}{1}'.format(
os.path.basename(remote_log),
remote_log.endswith('.log') and '' or '.log'
'' if remote_log.endswith('.log') else '.log'
)
)
])