File guitarix-python-3.11-ftbfs.patch of Package guitarix

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)
openSUSE Build Service is sponsored by