From ecae59c52977614e66a222e355a9f00c6d972bf8 Mon Sep 17 00:00:00 2001
From: Rohit Gupta <rohit.gupta@eurecom.fr>
Date: Wed, 20 Jan 2016 10:48:33 +0100
Subject: [PATCH] fixed a bug in update_config_file function

---
 cmake_targets/autotests/run_exec_lte-softmodem_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake_targets/autotests/run_exec_lte-softmodem_tests.py b/cmake_targets/autotests/run_exec_lte-softmodem_tests.py
index 625c88d3b5..27a4bcacd8 100755
--- a/cmake_targets/autotests/run_exec_lte-softmodem_tests.py
+++ b/cmake_targets/autotests/run_exec_lte-softmodem_tests.py
@@ -258,9 +258,9 @@ def finalize_deploy_script (timeout_cmd, terminate_missing_procs='True'):
 # \param logdirRepo directory of remote repository
 # \param python_script python script location
 def update_config_file(oai, config_string, logdirRepo, python_script):
+  cmd=""
   if config_string :
     stringArray = config_string.splitlines()
-    cmd=""
     #python_script = '$OPENAIR_DIR/targets/autotests/tools/search_repl.py'
     for string in stringArray:
        #split the string based on space now
-- 
GitLab