From 5ed5b659930bf72c08f74b88339904ccc75c1ded Mon Sep 17 00:00:00 2001 From: zhufl Date: Fri, 30 Oct 2020 10:21:04 +0800 Subject: [PATCH] Add missing print format and missing ws in log message This is to add missing print format parameter and missing white spaces in the log message. Change-Id: I76f790f98a9f7f2c7f0cbbbed1d50f5ec057b8c8 --- freezer/openstack/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freezer/openstack/admin.py b/freezer/openstack/admin.py index a5d18b53..71f2a3b4 100644 --- a/freezer/openstack/admin.py +++ b/freezer/openstack/admin.py @@ -140,8 +140,8 @@ class AdminOs(object): % (backup.id, del_backup[0].status)) if (del_backup[0].status == 'deleting') \ and (int(time.time()) - start_time > timeout): - LOG.error("Delete backup %s failed, In a state of" - "deleting over 120s") + LOG.error("Delete backup %s failed, In a state of " + "deleting over 120s", backup.id) raise Exception( "Delete backup %s failed due to timeout over 120s," " the status of backup is %s."