From eb6137328d55cd2df7deff82f7c5646577b796bd Mon Sep 17 00:00:00 2001 From: Sanghoon Lee Date: Thu, 25 Apr 2019 10:40:01 +0900 Subject: [PATCH] [Non-ACR][inst.py][fixed none type issue] Change-Id: Ic8c491ee2739a3ef5a7c56e89abf3d4c5a8ba150 --- tool/script/template/inst.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tool/script/template/inst.py b/tool/script/template/inst.py index 3f275d563..6b6af4ea4 100755 --- a/tool/script/template/inst.py +++ b/tool/script/template/inst.py @@ -128,10 +128,10 @@ def uninstPKGs(): pkg_id = getPKGID(os.path.basename(os.path.splitext(file)[0])) if not pkg_id: action_status = False - print ("pkg_id wgt is None") + print ("wgt pkg_id is None. file name is : %s " % (file)) continue - print ("pkg_id wgt : %s" % (pkg_id)) + print ("wgt pkg_id : %s" % (pkg_id)) (return_code, output) = doRemoteCMD( "pkgcmd -u -t wgt -q -n %s" % pkg_id) for line in output: @@ -141,7 +141,7 @@ def uninstPKGs(): elif file.endswith(".tpk"): pkg_id = getPKGID(os.path.basename(os.path.splitext(file)[0])) if not pkg_id: - print ("tpk pkg_id is None") + print ("tpk pkg_id is None. file name is : %s " % (file)) action_status = False continue -- 2.34.1