1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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>
This commit is contained in:
Michael Adam 2014-06-20 11:52:11 +02:00
parent b93a1e85ff
commit fe6685dbf3

View File

@ -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)