aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/OpenStack/vPing/vping.py
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-09-27 00:41:11 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-09-27 00:41:11 +0800
commit52ee1e53e8ee40f2b941a4db69a359586d0a8092 (patch)
tree65de45346bc50d84f5d1d01938b4e8d16d603209 /testcases/OpenStack/vPing/vping.py
parent702a991e4a24320b99cd86525394089de724e7cf (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/vPing/vping.py')
-rwxr-xr-xtestcases/OpenStack/vPing/vping.py4
1 files changed, 0 insertions, 4 deletions
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)