summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorvitikkan <viktor.tikkanen@nokia.com>2016-04-26 11:23:08 +0300
committervitikkan <viktor.tikkanen@nokia.com>2016-04-26 11:23:08 +0300
commit65c7d973975621c7eb2d660bbdcb0d94bafd6f3a (patch)
tree0aa20a3f7dac4baf8cb5d491783432d8297afb69 /testcases
parent8fc62ca322c2e2591aead370141c9c49685694d6 (diff)
Corrected logging.Formatter parameters
Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
Diffstat (limited to 'testcases')
-rw-r--r--testcases/VIM/OpenStack/CI/libraries/clean_openstack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py b/testcases/VIM/OpenStack/CI/libraries/clean_openstack.py
index 7c82a4b93..838927faa 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)