From 797f9fb757040cfcbcd25dfb356ecd24b5b51a06 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:13:47 +0200 Subject: [PATCH] fix typo, refs #21677 --- tests/test_backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_backup.py b/tests/test_backup.py index 1ab42e25..c94bc682 100755 --- a/tests/test_backup.py +++ b/tests/test_backup.py @@ -71,7 +71,7 @@ def check_local_backup(path): for d in os.listdir(path): subd = os.path.join(path, d) latest = os.path.join(subd, 'latest') - if os.exists(latest): + if os.path.exists(latest): mtime = os.path.getmtime(latest) d = datetime.fromtimestamp(mtime) now = datetime.now() -- GitLab