mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-20 13:50:12 +01:00
Merge branch 'dexdump_nooutput' into 'master'
Silence dexdump output in build --verbose See merge request fdroid/fdroidserver!1114
This commit is contained in:
commit
1ae6e4e254
@ -125,7 +125,10 @@ def get_embedded_classes(apkfile, depth=0):
|
||||
|
||||
elif class_regex.search(info.filename):
|
||||
apk_zip.extract(info, tmp_dir)
|
||||
run = common.SdkToolsPopen(["dexdump", '{}/{}'.format(tmp_dir, info.filename)])
|
||||
run = common.SdkToolsPopen(
|
||||
["dexdump", '{}/{}'.format(tmp_dir, info.filename)],
|
||||
output=False,
|
||||
)
|
||||
classes = classes.union(set(re.findall(r'[A-Z]+((?:\w+\/)+\w+)', run.output)))
|
||||
except zipfile.BadZipFile as ex:
|
||||
return {_('Problem with ZIP file: %s, error %s') % (apkfile, ex)}
|
||||
|
Loading…
Reference in New Issue
Block a user