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:
parent
4ce3da476d
commit
5448fa2a2d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user