mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-06 17:31:07 +03:00
use global constant for the 'xmlns:android' XML namespace
This commit is contained in:
parent
3e1d313b7c
commit
cc94ebca30
2 changed files with 8 additions and 7 deletions
|
@ -1237,7 +1237,7 @@ def scan_apk_androguard(apk, apkfile):
|
|||
androidmanifest_xml = apkobject.xml['AndroidManifest.xml']
|
||||
if len(xml.nsmap) > 0:
|
||||
# one of them surely will be the Android one, or its corrupt
|
||||
xmlns = '{http://schemas.android.com/apk/res/android}'
|
||||
xmlns = common.XMLNS_ANDROID
|
||||
else:
|
||||
# strange but sometimes the namespace is blank. This seems to
|
||||
# only happen with the Bromite/Chromium APKs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue