1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Improve 'no sdk version found' output

This commit is contained in:
Ciaran Gultnieks 2014-08-08 12:34:16 +01:00
parent 6767c3f987
commit 1c5d5c0bce

View File

@ -444,12 +444,12 @@ def scan_apks(apps, apkcache, repodir, knownapks):
thisinfo['features'].add(perm)
if 'sdkversion' not in thisinfo:
logging.warn("no SDK version information found")
logging.warn("No SDK version information found in {0}".format(apkfile))
thisinfo['sdkversion'] = 0
# Check for debuggable apks...
if common.isApkDebuggable(apkfile, config):
logging.warn('{0} is set to android:debuggable="true"!'.format(apkfile))
logging.warn('{0} is set to android:debuggable="true"'.format(apkfile))
# Calculate the sha256...
sha = hashlib.sha256()