mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-08 18:31:07 +03:00
Improve 'no sdk version found' output
This commit is contained in:
parent
6767c3f987
commit
1c5d5c0bce
1 changed files with 2 additions and 2 deletions
|
@ -444,12 +444,12 @@ def scan_apks(apps, apkcache, repodir, knownapks):
|
||||||
thisinfo['features'].add(perm)
|
thisinfo['features'].add(perm)
|
||||||
|
|
||||||
if 'sdkversion' not in thisinfo:
|
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
|
thisinfo['sdkversion'] = 0
|
||||||
|
|
||||||
# Check for debuggable apks...
|
# Check for debuggable apks...
|
||||||
if common.isApkDebuggable(apkfile, config):
|
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...
|
# Calculate the sha256...
|
||||||
sha = hashlib.sha256()
|
sha = hashlib.sha256()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue