summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-09-27 00:41:11 +0800
committerMorgan Richomme <morgan.richomme@orange.com>2016-09-27 07:10:41 +0000
commitbc8056383ce9154ecbe7a919ac10307ea7bd67ad (patch)
tree5d587ce01d25fd7ae436d4e98488fd3cc6eb2a9d /testcases
parent2dc1bfffff44f8094090514ef41e6d11eb54547a (diff)
make logger in vping a local variable
JIRA: FUNCTEST-493 Change-Id: I9f0c91b3fdbfb62c277b2c452ec124f67b21c653 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> (cherry picked from commit 52ee1e53e8ee40f2b941a4db69a359586d0a8092)
Diffstat (limited to 'testcases')
-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 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)