diff options
author | Andrew Bartlett <abartlet@samba.org> | 2019-11-04 17:07:44 +1300 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-11-13 08:42:30 +0000 |
commit | 92ce387ed0e02bc3ebc673bcfd7ffbb55c04f57d (patch) | |
tree | 8edc43fb24f980b1665556f111ed638bb8bc957c /ctdb/wscript | |
parent | dc5788056bcbccdc320aeaad4f35f726632a91a4 (diff) | |
download | samba-92ce387ed0e02bc3ebc673bcfd7ffbb55c04f57d.tar.gz |
build: Remove workaround for missing os.path.relpath in Python < 2.6
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
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 daf3e1e9b2b..dae25e725dc 100644 --- a/ctdb/wscript +++ b/ctdb/wscript @@ -769,7 +769,7 @@ def build(bld): continue mode = os.lstat(fl).st_mode & MODE_777 if arg['trim_path']: - fl = samba_utils.os_path_relpath(fl, arg['trim_path']) + fl = samba_utils.os.path.relpath(fl, arg['trim_path']) arg['file_list'].append([fl, mode]) def SUBDIR_MODE(path, trim_path=None): |