From bc8056383ce9154ecbe7a919ac10307ea7bd67ad 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 (cherry picked from commit 52ee1e53e8ee40f2b941a4db69a359586d0a8092) --- testcases/OpenStack/vPing/vping.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'testcases/OpenStack') diff --git a/testcases/OpenStack/vPing/vping.py b/testcases/OpenStack/vPing/vping.py index 08579e105..90f664568 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