mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 23:12:46 +03: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue