upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDadaCap <167002618+DadaCap@users.noreply.github.com>2026-11-29 04:37:17 +0100
committerGitHub <noreply@github.com>2026-11-29 04:37:17 +0100
commit90efd60e127147d07ea7a92424bebcb60bf337dc (patch)
tree8f5c53b2b6b67f1c3cd89fcf057db96592b1b7c7 /scripts
parent212d2ec9051b17edcb4b54166114e7893810d0ef (diff)
parentfa3847b07524de66932b1a9075f21515300438f3 (diff)
Merge pull request #2590 from aegish-zagi/fix/stdout-guard-four-programs
tools/scripts: the four leftover __main__ blocks set errors=replace on stdout
Diffstat (limited to 'scripts')
-rw-r--r--scripts/bench_translate.py1
-rw-r--r--scripts/export_old_pr_manifest.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/scripts/bench_translate.py b/scripts/bench_translate.py
index b639098b9..6c60b3493 100644
--- a/scripts/bench_translate.py
+++ b/scripts/bench_translate.py
@@ -306,4 +306,5 @@ def main(argv=None):
306 306
307 307
308if __name__ == "__main__": 308if __name__ == "__main__":
309 sys.stdout.reconfigure(errors="replace")
309 sys.exit(main()) 310 sys.exit(main())
diff --git a/scripts/export_old_pr_manifest.py b/scripts/export_old_pr_manifest.py
index 66d99f1ac..7198e6b3d 100644
--- a/scripts/export_old_pr_manifest.py
+++ b/scripts/export_old_pr_manifest.py
@@ -120,4 +120,5 @@ def main(argv=None) -> int:
120 120
121 121
122if __name__ == "__main__": 122if __name__ == "__main__":
123 sys.stdout.reconfigure(errors="replace")
123 sys.exit(main()) 124 sys.exit(main())