From: Sanghoon Lee Date: Thu, 25 Apr 2019 01:40:01 +0000 (+0900) Subject: [Non-ACR][inst.py][fixed none type issue] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F08%2F204608%2F1;p=test%2Ftct%2Fcsharp%2Fapi.git [Non-ACR][inst.py][fixed none type issue] Change-Id: Ic8c491ee2739a3ef5a7c56e89abf3d4c5a8ba150 --- 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