chiark / gitweb /
Make dump xmltree and dump badging silent again
authorDaniel Martí <mvdan@mvdan.cc>
Wed, 31 Dec 2014 15:34:11 +0000 (16:34 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Wed, 31 Dec 2014 15:34:11 +0000 (16:34 +0100)
fdroidserver/build.py
fdroidserver/common.py

index 498cd4139464ca29160006e2628bba552bcb7949..01eb2f96f0918de8b88a95f4893a62968fb09ca5 100644 (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
index 72208f5baee9a5195da655568fae36496e10da00..adb3cd616d023508883a7b7b7cbf339497ddfbfd 100644 (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)