guitarix/guitarix-python-3.11-ftbfs.patch

14 lines
384 B
Diff
Raw Normal View History

2023-01-31 21:36:46 +00:00
diff --git a/wscript b/trunk/wscript
index b915199a..f3e4d129 100644
--- a/wscript
+++ b/wscript
@@ -534,7 +534,7 @@ def sub_file(task):
dst_fname = task.outputs[0].abspath()
lst = task.generator.sub_list
- with open(src_fname, 'rU') as f:
+ with open(src_fname, 'r') as f:
txt = f.read()
for (key, val) in lst:
re_pat = re.compile(key, re.M)