git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e061ff
)
ctdb-build: Use open() instead of file() for python3
author
Amitay Isaacs
<amitay@gmail.com>
Mon, 17 Dec 2018 23:54:50 +0000
(10:54 +1100)
committer
Amitay Isaacs
<amitay@samba.org>
Tue, 18 Dec 2018 06:12:09 +0000
(07:12 +0100)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/wscript
patch
|
blob
|
history
diff --git
a/ctdb/wscript
b/ctdb/wscript
index 44a9d08acf9820297b068cdcf1b851f831789da3..30b09d6dc16aa1756206d4f7385b0025e2b8138b 100644
(file)
--- a/
ctdb/wscript
+++ b/
ctdb/wscript
@@
-1177,7
+1177,7
@@
def distonly(ctx):
version = get_version()
- distfile =
file
('.distversion', 'w')
+ distfile =
open
('.distversion', 'w')
for field in version.vcs_fields:
distfile.write('%s=%s\n' % (field, str(version.vcs_fields[field])))
distfile.close()