summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files/chromium-106-python3_11.patch')
-rw-r--r--www-client/chromium/files/chromium-106-python3_11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-106-python3_11.patch b/www-client/chromium/files/chromium-106-python3_11.patch
new file mode 100644
index 000000000000..795f48547490
--- /dev/null
+++ b/www-client/chromium/files/chromium-106-python3_11.patch
@@ -0,0 +1,11 @@
+--- a/tools/grit/grit/util.py
++++ b/tools/grit/grit/util.py
+@@ -209,7 +209,7 @@ def ReadFile(filename, encoding):
+ mode = 'rb'
+ encoding = None
+ else:
+- mode = 'rU'
++ mode = 'r'
+
+ with io.open(filename, mode, encoding=encoding) as f:
+ return f.read()