diff options
author | Amitay Isaacs <amitay@gmail.com> | 2018-12-18 10:54:50 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2018-12-18 07:12:09 +0100 |
commit | 9912709eca29d21cf56f342079db6b5cc02bbea2 (patch) | |
tree | 2573906f68206cd7601d6cb78905a0eb2ac207d2 /ctdb/wscript | |
parent | 1e061ff1e3fcfcd020df1a35c1c0697c114cb209 (diff) | |
download | samba-9912709eca29d21cf56f342079db6b5cc02bbea2.tar.gz |
ctdb-build: Use open() instead of file() for python3
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/wscript')
-rw-r--r-- | ctdb/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/wscript b/ctdb/wscript index 44a9d08acf9..30b09d6dc16 100644 --- 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() |