diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-09-27 00:41:11 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-09-27 00:41:11 +0800 |
commit | 52ee1e53e8ee40f2b941a4db69a359586d0a8092 (patch) | |
tree | 65de45346bc50d84f5d1d01938b4e8d16d603209 /testcases/OpenStack | |
parent | 702a991e4a24320b99cd86525394089de724e7cf (diff) |
make logger in vping a local variable
JIRA: FUNCTEST-493
Change-Id: I9f0c91b3fdbfb62c277b2c452ec124f67b21c653
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testcases/OpenStack')
-rwxr-xr-x | testcases/OpenStack/vPing/vping.py | 4 |
1 files changed, 0 insertions, 4 deletions
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) |