From 4bbbb1c5266ce4f077451061ef3da55c5307e05e Mon Sep 17 00:00:00 2001 From: "Felix C. Stegerman" Date: Thu, 8 Apr 2021 10:11:52 +0200 Subject: [PATCH] build.py: also clean() tarfile directory entries --- pythonforandroid/bootstraps/common/build/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pythonforandroid/bootstraps/common/build/build.py b/pythonforandroid/bootstraps/common/build/build.py index 895e599f6c..aa0574072a 100644 --- a/pythonforandroid/bootstraps/common/build/build.py +++ b/pythonforandroid/bootstraps/common/build/build.py @@ -201,6 +201,7 @@ def clean(tinfo): dirs.append(d) tinfo = tarfile.TarInfo(d) tinfo.type = tarfile.DIRTYPE + clean(tinfo) tf.addfile(tinfo) # put the file