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

update: hide confusing androguard warning that is irrelevant here

This is related to androguard features that fdroidserver does not use:
WARNING: Requested API level 31 is larger than maximum we have, returning API level 28 instead.
This commit is contained in:
Hans-Christoph Steiner 2022-05-23 21:20:41 +02:00
parent 4ce3da476d
commit 5448fa2a2d
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

@ -2592,6 +2592,7 @@ def use_androguard():
use_androguard.show_path = False use_androguard.show_path = False
if options and options.verbose: if options and options.verbose:
logging.getLogger("androguard.axml").setLevel(logging.INFO) logging.getLogger("androguard.axml").setLevel(logging.INFO)
logging.getLogger("androguard.core.api_specific_resources").setLevel(logging.ERROR)
return True return True
except ImportError: except ImportError:
return False return False