Derp .. take 2 .. -------- Forwarded Message -------- Subject: [PATCH] Add new 'clean_files' function to perform file cleanups for */rm stages Date: Mon, 16 Jul 2018 02:13:09 +0100 From: M. J. Everitt To: gentoo-releng@lists.gentoo.org It would appear that the */rm stages never actually cleaned up files - there is provision for directory and symlink removal, but no code for files. Added to this, any wildcards specified are ignored by the os.file.exists() function. A new function seemed to be the sensible solution to this issue, utilising the python 'glob.glob' function. Bug: https://bugs.gentoo.org/661084 Signed-off-by: M. J. Everitt --- catalyst/fileops.py | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)