parent
b98b064928
commit
7de558c0a9
@ -0,0 +1,12 @@
|
|||||||
|
diff -up chromium-103.0.5060.53/tools/grit/grit/util.py.fix-python3 chromium-103.0.5060.53/tools/grit/grit/util.py
|
||||||
|
--- chromium-103.0.5060.53/tools/grit/grit/util.py.fix-python3 2022-06-30 19:38:05.483590098 +0000
|
||||||
|
+++ chromium-103.0.5060.53/tools/grit/grit/util.py 2022-06-30 19:38:14.024304827 +0000
|
||||||
|
@@ -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()
|
Loading…
Reference in new issue