diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-10-06 20:11:01 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-10-06 11:13:05 +0000 |
commit | c24240bcd2f833321f45ea4ce0b6c6d080a3b990 (patch) | |
tree | 0075709dd705752b56ee242bd01a72092c6a22c9 /buildtools/wafsamba/wafsamba.py | |
parent | 8fcccae6aa4f48e7ef03fbf8e5b5f24ea0209d2e (diff) | |
download | samba-c24240bcd2f833321f45ea4ce0b6c6d080a3b990.tar.gz samba-c24240bcd2f833321f45ea4ce0b6c6d080a3b990.tar.bz2 samba-c24240bcd2f833321f45ea4ce0b6c6d080a3b990.zip |
waf: fixed some python3.x portability issues
these have crept into the tree over time. Maybe we should add testing
of a range of python versions to autobuild?
Diffstat (limited to 'buildtools/wafsamba/wafsamba.py')
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index da046e17a0..262d3bdc98 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -573,7 +573,7 @@ def SAMBA_SCRIPT(bld, name, pattern, installdir, installname=None): Build.BuildContext.SAMBA_SCRIPT = SAMBA_SCRIPT -def install_file(bld, destdir, file, chmod=0644, flat=False, +def install_file(bld, destdir, file, chmod=MODE_644, flat=False, python_fixup=False, destname=None, base_name=None): '''install a file''' destdir = bld.EXPAND_VARIABLES(destdir) @@ -601,7 +601,7 @@ def install_file(bld, destdir, file, chmod=0644, flat=False, bld.install_as(dest, file, chmod=chmod) -def INSTALL_FILES(bld, destdir, files, chmod=0644, flat=False, +def INSTALL_FILES(bld, destdir, files, chmod=MODE_644, flat=False, python_fixup=False, destname=None, base_name=None): '''install a set of files''' for f in TO_LIST(files): @@ -611,7 +611,7 @@ def INSTALL_FILES(bld, destdir, files, chmod=0644, flat=False, Build.BuildContext.INSTALL_FILES = INSTALL_FILES -def INSTALL_WILDCARD(bld, destdir, pattern, chmod=0644, flat=False, +def INSTALL_WILDCARD(bld, destdir, pattern, chmod=MODE_644, flat=False, python_fixup=False, exclude=None, trim_path=None): '''install a set of files matching a wildcard pattern''' files=TO_LIST(bld.path.ant_glob(pattern)) |