We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8f80b2 commit e50c32eCopy full SHA for e50c32e
diff-logs.py
@@ -54,4 +54,7 @@
54
for line in sys.stdin:
55
for pattern, replacement in PATTERNS.items():
56
line = re.sub(pattern, replacement, line)
57
- print(line, end='')
+ try:
58
+ print(line, end='')
59
+ except BrokenPipeError:
60
+ break
0 commit comments