mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 22:40:29 +03:00
Silence dexdump output in build --verbose
This commit is contained in:
parent
6318bf0f5d
commit
50e680be93
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue