Skip to content

Commit

Permalink
modified get_current_pkginfo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
gb112211 committed Jun 2, 2015
1 parent 023f1e9 commit 98d2a82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/get_current_pkginfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

import os
import tempfile
import re

from scriptUtils import utils
from scriptUtils.exception import SriptException

#获取设备上当前应用的包信息,结果存放于当前目录下的PackageInfo.txt中

Expand All @@ -27,7 +27,7 @@ def get_aapt():
elif "aapt" in files:
return os.path.join(path, "aapt")
else:
return "ANDROID_HOME not exist"
raise SriptException("ANDROID_HOME not exist")

def get_match_apk(package_name):
list = []
Expand Down

0 comments on commit 98d2a82

Please sign in to comment.