From 4b28c3a51d06c96aff4e1103c74ef8359b63fe9a Mon Sep 17 00:00:00 2001 From: Tim Pillinger <26465611+wxtim@users.noreply.github.com> Date: Tue, 5 Nov 2024 11:44:42 +0000 Subject: [PATCH] flake8 --- cylc/rose/utilities.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/cylc/rose/utilities.py b/cylc/rose/utilities.py index 6221b88..101c612 100644 --- a/cylc/rose/utilities.py +++ b/cylc/rose/utilities.py @@ -56,10 +56,10 @@ MESSAGE = 'message' ALL_MODES = 'all modes' STANDARD_VARS = [ - ('ROSE_ORIG_HOST', get_host()), - ('ROSE_VERSION', ROSE_VERSION), - ('CYLC_VERSION', SET_BY_CYLC) - ] + ('ROSE_ORIG_HOST', get_host()), + ('ROSE_VERSION', ROSE_VERSION), + ('CYLC_VERSION', SET_BY_CYLC) +] class NotARoseSuiteException(Exception): @@ -124,9 +124,6 @@ def process_config( if templating not in config_node.value: config_node.set([templating]) - # Get Rose Orig host: - rose_orig_host = get_host() - # For each section process variables and add standard variables. for section in ['env', templating]: