summaryrefslogtreecommitdiffstats
path: root/android/mobile-config.py
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-10-21 18:22:11 +0300
committerTomaž Vajngerl <tomaz.vajngerl@collabora.com>2014-12-04 23:04:23 +0100
commit7e89eb17a53f0a8a2d24ffa91853e186f7f63bfd (patch)
treeedc28ff89608fab25250bd93eaadad99914f132a /android/mobile-config.py
parentLog time since object creation, not since epoch (diff)
downloadcore-7e89eb17a53f0a8a2d24ffa91853e186f7f63bfd.tar.gz
core-7e89eb17a53f0a8a2d24ffa91853e186f7f63bfd.zip
Cosmetics
Change-Id: I4d819f59ecb2462aee5998628ad034657bf3b0f9
Diffstat (limited to 'android/mobile-config.py')
-rwxr-xr-xandroid/mobile-config.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/android/mobile-config.py b/android/mobile-config.py
index 6f292975d34b..d28c7c01abeb 100755
--- a/android/mobile-config.py
+++ b/android/mobile-config.py
@@ -14,7 +14,6 @@
import sys
import xml.etree.ElementTree as ET
-
main_xcd_discard = [
'org.openoffice.Office/TableWizard', # huge
@@ -75,12 +74,10 @@ main_xcd_discard = [
'org.openoffice.Office.UI/Category',
]
-
if __name__ == '__main__':
tree = ET.parse(sys.argv[1])
root = tree.getroot()
- print "Foo\n"
saved = 0
total = 0
for child in root:
@@ -96,4 +93,3 @@ if __name__ == '__main__':
print "saved %d of %d bytes: %2.f%%" % (saved, total, saved*100.0/total)
tree.write(sys.argv[2], 'UTF-8', True)
-