From 52ee1e53e8ee40f2b941a4db69a359586d0a8092 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Tue, 27 Sep 2016 00:41:11 +0800 Subject: make logger in vping a local variable JIRA: FUNCTEST-493 Change-Id: I9f0c91b3fdbfb62c277b2c452ec124f67b21c653 Signed-off-by: SerenaFeng --- testcases/OpenStack/vPing/vping.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'testcases/OpenStack/vPing/vping.py') diff --git a/testcases/OpenStack/vPing/vping.py b/testcases/OpenStack/vPing/vping.py index 08579e10..90f66456 100755 --- a/testcases/OpenStack/vPing/vping.py +++ b/testcases/OpenStack/vPing/vping.py @@ -33,9 +33,6 @@ parser.add_argument("-m", "--mode", default='ssh', args = parser.parse_args() -""" logging declaration """ -logger = None - def main(): if args.mode == 'ssh': @@ -43,7 +40,6 @@ def main(): else: case = 'vping_userdata' - global logger logger = ft_logger.Logger(case).getLogger() util.init(logger) -- cgit 1.2.3-korg