Skip to content

Commit ea2b27d

Browse files
committed
Fix warning message
1 parent 8b33cf4 commit ea2b27d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

cylc/flow/config.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,14 +1056,13 @@ def _check_sequence_bounds(self):
10561056
out_of_bounds_str = '\n'.join(
10571057
wrap(', '.join(out_of_bounds), 70))
10581058
msg = (
1059-
"multiple sequences out of bounds for"
1060-
" initial cycle point "
1059+
"multiple sequences out of bounds for start cycle point "
10611060
f"{self.start_point}:\n{out_of_bounds_str}"
10621061
)
10631062
else:
10641063
msg = (
10651064
f"{out_of_bounds[0]}: sequence out of bounds for "
1066-
f"initial cycle point {self.start_point}"
1065+
f"start cycle point {self.start_point}"
10671066
)
10681067
LOG.warning(msg)
10691068

tests/functional/validate/71-task-proxy-sequence-bounds-err.t

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ __END__
3535
TEST_NAME="${TEST_NAME_BASE}-single"
3636
run_ok "$TEST_NAME" cylc validate .
3737
cmp_ok "${TEST_NAME}.stderr" <<'__ERR__'
38-
WARNING - R1/P0Y/19990101T0000Z: sequence out of bounds for initial cycle point 20000101T0000Z
38+
WARNING - R1/P0Y/19990101T0000Z: sequence out of bounds for start cycle point 20000101T0000Z
3939
__ERR__
4040

4141
cat > flow.cylc <<__END__
@@ -53,7 +53,7 @@ __END__
5353
TEST_NAME="${TEST_NAME_BASE}-multiple"
5454
run_ok "$TEST_NAME" cylc validate .
5555
contains_ok "${TEST_NAME}.stderr" <<__ERR__
56-
WARNING - multiple sequences out of bounds for initial cycle point 20000101T0000Z:
56+
WARNING - multiple sequences out of bounds for start cycle point 20000101T0000Z:
5757
${LOG_INDENT}R1/P0Y/19960101T0000Z, R1/P0Y/19970101T0000Z, R1/P0Y/19980101T0000Z,
5858
${LOG_INDENT}R1/P0Y/19990101T0000Z
5959
__ERR__

0 commit comments

Comments
 (0)