Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
wxtim committed Oct 9, 2023
1 parent 7e5414f commit 8c4e015
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cylc/rose/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from cylc.rose.jinja2_parser import Parser, patch_jinja2_leading_zeros
from metomi.rose import __version__ as ROSE_VERSION
from metomi.isodatetime.datetimeoper import DateTimeOperator
from metomi.rose.config import ConfigDumper, ConfigNodeDiff, ConfigNode
from metomi.rose.config import ConfigNodeDiff, ConfigNode
from metomi.rose.config_processor import ConfigProcessError
from metomi.rose.env import env_var_process, UnboundEnvironmentVariableError

Expand Down Expand Up @@ -354,7 +354,7 @@ def invalid_defines_check(defines: List) -> None:
"""
invalid_defines = []
for define in defines:
if parse_cli_defines(define) == 'Invalid':
if parse_cli_defines(define) is False:
invalid_defines.append(define)
if invalid_defines:
msg = 'Invalid Suite Defines (should contain an =)'
Expand Down

0 comments on commit 8c4e015

Please sign in to comment.