void-packages/srcpkgs/electron19/patches/python-3.11.patch

12 lines
320 B
Diff

--- a/src/tools/grit/grit/util.py 2022-06-14 05:15:31.000000000 -0400
+++ b/src/tools/grit/grit/util.py 2023-04-10 09:06:50.593197014 -0400
@@ -209,7 +209,7 @@
mode = 'rb'
encoding = None
else:
- mode = 'rU'
+ mode = 'r'
with io.open(filename, mode, encoding=encoding) as f:
return f.read()