From 4fe23365ebd4191177f3fb69e5a98f4b00581e81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu> Date: Thu, 1 Jun 2017 11:22:22 +0200 Subject: [PATCH] add debug --- tests/test_backup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_backup.py b/tests/test_backup.py index 1f7e3faf..cbd68fdf 100755 --- a/tests/test_backup.py +++ b/tests/test_backup.py @@ -73,6 +73,7 @@ def check_local_backup(path): if os.path.isdir(d): subd = os.path.join(path, d) latest = os.path.join(subd, 'latest') + print('Checking %s' % latest) if os.path.exists(latest): mtime = os.path.getmtime(latest) d = datetime.fromtimestamp(mtime) @@ -97,6 +98,7 @@ def check_local_backups(paths): folders = paths.split(',') for f in folders: if f not in blacklist: + print('Checking folder %s' % f) all_ok = min(check_local_backup(f), all_ok) return all_ok -- GitLab