Skip to content

Commit 9596455

Browse files
committed
Make warning output more consistent with errors
Signed-off-by: Matthias Büchse <[email protected]>
1 parent 13ddba5 commit 9596455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/chk_adrs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def check_front_matter(self, fn, front, filenames):
138138
self.emit(f"in {fn}: missing replaces field")
139139
else:
140140
if isinstance(replaces, str):
141-
print(f"WARNING: replaces field not a list in {fn}", file=sys.stderr)
141+
print(f"WARNING: in {fn}: replaces field not a list", file=sys.stderr)
142142
replaces = [replaces]
143143
missing = [fn for fn in replaces if fn not in filenames]
144144
if missing:

0 commit comments

Comments
 (0)