From c81ff764a3286bb72b0d547e67ca044b97ed2d2e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 3 Jun 2014 13:39:11 -0400 Subject: [PATCH] update: improve warning about APKs set to be debuggable This uses the actual XML code used to set this flag making the warning message easily searchable on the interwebs. --- fdroidserver/update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/update.py b/fdroidserver/update.py index aca6b994..8cd6b0e3 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -452,7 +452,7 @@ def scan_apks(apps, apkcache, repodir, knownapks): # Check for debuggable apks... if common.isApkDebuggable(apkfile, config): - logging.warn("{0} is debuggable... {1}".format(apkfile, line)) + logging.warn('{0} is set to android:debuggable="true"!'.format(apkfile)) # Calculate the sha256... sha = hashlib.sha256()