summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-03-27 06:19:06 +0000
committerJustin chi <chigang@huawei.com>2017-03-27 06:19:06 +0000
commitb52dade4c2d8ee662f22893c9527196e0074b20d (patch)
tree4d04d521b0aacf9ff3ef555fb071cee83747b2be /util
parentfb5c383c7d88f27c5dcea3b4b1920ffd612cae2e (diff)
Revert "opera adapter fix2"
* opera_adapter need sshpass which may cause deploy fail * compass log redirection is the last command which always return 0 and thus cover deploy error 1. add installation of sshpass in prepare.sh 2. echo a string at the end of deploy/launch.sh into log file to judge if deployment is complete 3. fix typing error in util/check_valid.py Change-Id: Ifa57faed29e1055a35ab0e24b0026b520f395807 Signed-off-by: Justin chi <chigang@huawei.com>
Diffstat (limited to 'util')
-rw-r--r--util/check_valid.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/check_valid.py b/util/check_valid.py
index e3ad6bcd..9eaa100d 100644
--- a/util/check_valid.py
+++ b/util/check_valid.py
@@ -135,7 +135,7 @@ if __name__ == "__main__":
_, dha_file, network_file = sys.argv
if not os.path.exists(dha_file):
- err_print("DHA file doesn't exist")
+ err_print("DHA file doesn't exit")
sys.exit(1)
else:
dha = load_file(dha_file)
@@ -148,7 +148,7 @@ if __name__ == "__main__":
has_invalid = True
if not os.path.exists(network_file):
- err_print("NETWORK file doesn't exist")
+ err_print("NETWORK file doesn't exit")
sys.exit(1)
else:
network = load_file(network_file)