mirror of
https://github.com/androguard/androguard.git
synced 2024-11-26 22:40:33 +00:00
Merge pull request #1022 from subho007/patch-1
[bugfix] Remove spaces from nsmap
This commit is contained in:
commit
30fdb638e3
@ -728,7 +728,7 @@ class AXMLParser:
|
|||||||
# Solve 2) & 4) by not including
|
# Solve 2) & 4) by not including
|
||||||
if s_uri != "" and s_prefix != "":
|
if s_uri != "" and s_prefix != "":
|
||||||
# solve 1) by using the last one in the list
|
# solve 1) by using the last one in the list
|
||||||
NSMAP[s_prefix] = s_uri
|
NSMAP[s_prefix] = s_uri.strip()
|
||||||
|
|
||||||
return NSMAP
|
return NSMAP
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user