diff options
author | Michael Adam <obnox@samba.org> | 2014-06-20 11:52:11 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-06-20 23:38:10 +0200 |
commit | fe6685dbf3f84f88885c2d2da103670a1e1f7f92 (patch) | |
tree | 417f50054db1e945e0d56c96851fc7b9ffe76059 /buildtools | |
parent | b93a1e85ff8a6f57f8af6b71d37323d746daebb9 (diff) | |
download | samba-fe6685dbf3f84f88885c2d2da103670a1e1f7f92.tar.gz |
build: rename argument of list_directory_files(): abspath->path
It is never called with an absolute path.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'buildtools')
-rw-r--r-- | buildtools/wafsamba/samba_dist.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/wafsamba/samba_dist.py b/buildtools/wafsamba/samba_dist.py index 4d082fe62ae..aecacb7fd15 100644 --- a/buildtools/wafsamba/samba_dist.py +++ b/buildtools/wafsamba/samba_dist.py @@ -127,11 +127,11 @@ def dist(appname='', version=''): add_tarfile(tar, fname, abspath, srcsubdir) - def list_directory_files(abspath): + def list_directory_files(path): curdir = os.getcwd() os.chdir(srcdir) out_files = [] - for root, dirs, files in os.walk(abspath): + for root, dirs, files in os.walk(path): for f in files: out_files.append(os.path.join(root, f)) os.chdir(curdir) |