1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

Make dump xmltree and dump badging silent again

This commit is contained in:
Daniel Martí 2014-12-31 16:34:11 +01:00
parent d9c6609925
commit e39602586f
2 changed files with 3 additions and 2 deletions

View File

@ -754,7 +754,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
if not os.path.exists(src):
raise BuildException("Unsigned apk is not at expected location of " + src)
p = SdkToolsPopen(['aapt', 'dump', 'badging', src])
p = SdkToolsPopen(['aapt', 'dump', 'badging', src], output=False)
vercode = None
version = None

View File

@ -1598,7 +1598,8 @@ def isApkDebuggable(apkfile, config):
:param apkfile: full path to the apk to check"""
p = SdkToolsPopen(['aapt', 'dump', 'xmltree', apkfile, 'AndroidManifest.xml'])
p = SdkToolsPopen(['aapt', 'dump', 'xmltree', apkfile, 'AndroidManifest.xml'],
output=False)
if p.returncode != 0:
logging.critical("Failed to get apk manifest information")
sys.exit(1)