From 1b7d09d8faad1cd2fa2e91d92eaecbc136aaf5c1 Mon Sep 17 00:00:00 2001 From: Matt Shin Date: Wed, 12 Jun 2019 14:48:27 +0100 Subject: [PATCH] Re-style block for more compact style --- bin/cylc-cat-log | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/bin/cylc-cat-log b/bin/cylc-cat-log index 189431da5a3..c3cc3c535d6 100755 --- a/bin/cylc-cat-log +++ b/bin/cylc-cat-log @@ -393,17 +393,9 @@ def main(): log_is_retrieved = (glbl_cfg().get_host_item('retrieve job logs', host) and live_job_id is None) if log_is_remote and (not log_is_retrieved or options.force_remote): - logpath = os.path.normpath( - get_remote_suite_run_job_dir( - host, - user, - suite_name, - point, - task, - options.submit_num, - options.filename, - ) - ) + logpath = os.path.normpath(get_remote_suite_run_job_dir( + host, user, + suite_name, point, task, options.submit_num, options.filename)) tail_tmpl = str(glbl_cfg().get_host_item( "tail command template", host, user)) # Reinvoke the cat-log command on the remote account.