git.samba.org
/
gd
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wafsamba: Do not use 'rU' as the 'U' is deprecated in Python 3.9
[gd/samba-autobuild/.git]
/
buildtools
/
wafsamba
/
samba_utils.py
diff --git
a/buildtools/wafsamba/samba_utils.py
b/buildtools/wafsamba/samba_utils.py
index 4a5a34abae7a7aa561d6167e232bbb5697d5d961..f9eae73ae449833bc70a0a9836ec6e0bbe878857 100644
(file)
--- a/
buildtools/wafsamba/samba_utils.py
+++ b/
buildtools/wafsamba/samba_utils.py
@@
-682,7
+682,7
@@
def PROCESS_SEPARATE_RULE(self, rule):
cache[node] = True
self.pre_recurse(node)
try:
- function_code = node.read('r
U
', None)
+ function_code = node.read('r', None)
exec(compile(function_code, node.abspath(), 'exec'), self.exec_dict)
finally:
self.post_recurse(node)