diff options
author | Noel Power <noel.power@suse.com> | 2018-07-27 14:35:16 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-09-16 06:16:19 +0200 |
commit | 3cc284b2af15dbf7fee87ce56403ec53ef754b61 (patch) | |
tree | 5a9c99100cc23db01ef2fd8413667a89f684d819 /buildtools | |
parent | 4038e7bd8b2a8a66ae38b8c75ebf439351fc0e14 (diff) | |
download | samba-3cc284b2af15dbf7fee87ce56403ec53ef754b61.tar.gz |
PY3: fix some octal literals
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 36bc6c36483..59a4eacb305 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -795,7 +795,7 @@ sys.path.insert(1, "%s")""" % (task.env["PYTHONARCHDIR"], task.env["PYTHONDIR"]) installed_file.write(newline) lineno = lineno + 1 installed_file.close() - os.chmod(installed_location, 0755) + os.chmod(installed_location, 0o755) return 0 def copy_and_fix_perl_path(task): @@ -823,7 +823,7 @@ def copy_and_fix_perl_path(task): installed_file.write(newline) lineno = lineno + 1 installed_file.close() - os.chmod(installed_location, 0755) + os.chmod(installed_location, 0o755) return 0 |