From 65c7d973975621c7eb2d660bbdcb0d94bafd6f3a Mon Sep 17 00:00:00 2001 From: vitikkan Date: Tue, 26 Apr 2016 11:23:08 +0300 Subject: Corrected logging.Formatter parameters Signed-off-by: vitikkan --- testcases/VIM/OpenStack/CI/libraries/clean_openstack.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testcases/VIM/OpenStack') diff --git a/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py b/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py index 7c82a4b9..838927fa 100644 --- a/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py +++ b/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py @@ -48,8 +48,8 @@ if args.debug: else: ch.setLevel(logging.INFO) -formatter = logging.Formatter('% (asctime)s - % (name)s - ' - '% (levelname)s - % (message)s') +formatter = logging.Formatter('%(asctime)s - %(name)s - ' + '%(levelname)s - %(message)s') ch.setFormatter(formatter) logger.addHandler(ch) -- cgit 1.2.3-korg