diff options
author | Thomas Nagy <tnagy1024@gmail.com> | 2010-04-08 07:45:46 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-08 07:46:39 +1000 |
commit | 7f3116a63d7d91f4c0d26adf8fcdef0a5a957971 (patch) | |
tree | 46e95f69b7637c38dbbc20455c3dc99408a93df7 /buildtools/wafsamba/samba_install.py | |
parent | 64957ce0686761acd2a2a7ec1787898d2d8238b6 (diff) | |
download | samba-7f3116a63d7d91f4c0d26adf8fcdef0a5a957971.tar.gz samba-7f3116a63d7d91f4c0d26adf8fcdef0a5a957971.tar.bz2 samba-7f3116a63d7d91f4c0d26adf8fcdef0a5a957971.zip |
build: allow the waf build to work with python 3.0 and 3.1
Python 3.x is a bit fussier about print statements and indentation.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'buildtools/wafsamba/samba_install.py')
-rw-r--r-- | buildtools/wafsamba/samba_install.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buildtools/wafsamba/samba_install.py b/buildtools/wafsamba/samba_install.py index 2f861616c1..30b607bf4c 100644 --- a/buildtools/wafsamba/samba_install.py +++ b/buildtools/wafsamba/samba_install.py @@ -7,6 +7,8 @@ import Options from TaskGen import feature, before, after from samba_utils import * +O755 = 493 + @feature('install_bin') @after('apply_core') @before('apply_link') @@ -41,7 +43,7 @@ def install_binary(self): # tell waf to install the right binary bld.install_as(os.path.join(install_path, orig_target), os.path.join(self.path.abspath(bld.env), self.target), - chmod=0755) + chmod=O755) |