Skip to content

Commit 0e7e8fe

Browse files
committed
Use print(, ...) instead of ....write()
1 parent 33421df commit 0e7e8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/utils/hdrgen/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def write_depfile():
6060
header = load_yaml_file(yaml_file, HeaderFile, args.entry_point)
6161

6262
if not header.template_file:
63-
sys.stderr.write(f"{yaml_file}: Missing header_template\n")
63+
print(f"{yaml_file}: Missing header_template", sys.stderr)
6464
return 2
6565

6666
# The header_template path is relative to the containing YAML file.

0 commit comments

Comments
 (0)