From 57611fa5fc8d65e1f45245481dbb343aa8c9648f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Mon, 20 Apr 2020 07:20:38 +0200 Subject: [PATCH] add comments --- workdirfs.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/workdirfs.py b/workdirfs.py index a0bc645..e0ea2ec 100755 --- a/workdirfs.py +++ b/workdirfs.py @@ -164,9 +164,11 @@ class WorkdirFS(Operations): def _cleanup_dirs(self): print("Cleanup dir", self.yesterdaypath) - #zip_fileext=".gz" - zip_fileexts=[".gz","tgz",".gz.tar"] + # zip_fileext is used for output zip_fileext=".gz" + # zip_fileexts is a single string or a list of strings, which files + # should not be ceompressed + zip_fileexts=[".gz","tgz",".gz.tar"] zip_compressionlevel=5 #for root, dirs, files in os.walk(self.yesterdaypath, topdown=False): print("Archivepath",self.archivpathbase)