Gitiles
Code Review
Sign In
LeafOS
/
LeafOS-Project
/
android_vendor_lawnicons
/
be39fe2a5302abc5b8a74518222eff49015e0ce2
/
.
/
find_duplicates.py
blob: 62d2d07e8917569fa9f4a56e8fca715b1a18c564 [
file
] [
log
] [
blame
]
from
xml
.
etree
.
ElementTree
import
parse
root
=
parse
(
"app/src/main/res/xml/grayscale_icon_map.xml"
).
getroot
()
packages
=
[
i
.
attrib
[
"package"
]
for
i
in
root
]
duplicates
=
{
i
for
i
in
packages
if
packages
.
count
(
i
)
>
1
}
print
(
duplicates
)