From 475b3bb110a0347f1cf93656830fac3e918b765e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Mon, 27 Jul 2015 08:39:14 +0200 Subject: [PATCH] [fix] Correct logger object in backup_list (fix #75) --- lib/yunohost/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/yunohost/backup.py b/lib/yunohost/backup.py index 4b072d11f..7f98b118d 100644 --- a/lib/yunohost/backup.py +++ b/lib/yunohost/backup.py @@ -299,7 +299,7 @@ def backup_list(): # Retrieve local archives archives = os.listdir(archives_path) except OSError as e: - logging.info("unable to iterate over local archives: %s", str(e)) + logger.info("unable to iterate over local archives: %s", str(e)) else: # Iterate over local archives for f in archives: