From a9f5400eaeec43fccc75d45272f27b5da7a04e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gr=C3=BCning?= Date: Sat, 16 Sep 2023 18:33:07 +0200 Subject: [PATCH] FileInput no longer accept 'U' in the file mode --- tools/filters/convert_characters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/filters/convert_characters.py b/tools/filters/convert_characters.py index 434a3b2f2af6..a0c9ae836160 100644 --- a/tools/filters/convert_characters.py +++ b/tools/filters/convert_characters.py @@ -22,7 +22,7 @@ def __main__(): from_ch += "+" skipped = 0 - with open(args[0], "rU") as fin: + with open(args[0]) as fin: with open(args[2], "w") as fout: for line in fin: if options.strip: