wafsamba: Do not use 'rU' as the 'U' is deprecated in Python 3.9
[gd/samba-autobuild/.git] / buildtools / wafsamba / samba_utils.py
index 4a5a34abae7a7aa561d6167e232bbb5697d5d961..f9eae73ae449833bc70a0a9836ec6e0bbe878857 100644 (file)
@@ -682,7 +682,7 @@ def PROCESS_SEPARATE_RULE(self, rule):
             cache[node] = True
             self.pre_recurse(node)
             try:
-                function_code = node.read('rU', None)
+                function_code = node.read('r', None)
                 exec(compile(function_code, node.abspath(), 'exec'), self.exec_dict)
             finally:
                 self.post_recurse(node)