Skip to content

Commit bd31f97

Browse files
committed
commons samples to use stderr
1 parent 7639082 commit bd31f97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

commons.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
a tool to monitor projects that follow the guidelines in this project
55
"""
66

7+
import sys
78
import os
89
import hashlib
910
from datetime import datetime as DateTime
@@ -91,7 +92,7 @@ def spot_common(seed):
9192
for common in COMMONS:
9293
if seed in common:
9394
return common
94-
print(f"WARNING: could not spot a common file with seed {seed}, using it verbatim")
95+
print(f"WARNING: could not spot a common file with seed {seed}, using it verbatim", file=sys.stderr)
9596
return seed
9697

9798

0 commit comments

Comments
 (0)