summaryrefslogtreecommitdiff
path: root/ctdb/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2019-11-04 17:07:44 +1300
committerAndreas Schneider <asn@cryptomilk.org>2019-11-13 08:42:30 +0000
commit92ce387ed0e02bc3ebc673bcfd7ffbb55c04f57d (patch)
tree8edc43fb24f980b1665556f111ed638bb8bc957c /ctdb/wscript
parentdc5788056bcbccdc320aeaad4f35f726632a91a4 (diff)
downloadsamba-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/wscript2
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):