Kaydet (Commit) 7e89eb17 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Tomaž Vajngerl

Cosmetics

Change-Id: I4d819f59ecb2462aee5998628ad034657bf3b0f9
üst f95f3070
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
import sys import sys
import xml.etree.ElementTree as ET import xml.etree.ElementTree as ET
main_xcd_discard = [ main_xcd_discard = [
'org.openoffice.Office/TableWizard', # huge 'org.openoffice.Office/TableWizard', # huge
...@@ -75,12 +74,10 @@ main_xcd_discard = [ ...@@ -75,12 +74,10 @@ main_xcd_discard = [
'org.openoffice.Office.UI/Category', 'org.openoffice.Office.UI/Category',
] ]
if __name__ == '__main__': if __name__ == '__main__':
tree = ET.parse(sys.argv[1]) tree = ET.parse(sys.argv[1])
root = tree.getroot() root = tree.getroot()
print "Foo\n"
saved = 0 saved = 0
total = 0 total = 0
for child in root: for child in root:
...@@ -96,4 +93,3 @@ if __name__ == '__main__': ...@@ -96,4 +93,3 @@ if __name__ == '__main__':
print "saved %d of %d bytes: %2.f%%" % (saved, total, saved*100.0/total) print "saved %d of %d bytes: %2.f%%" % (saved, total, saved*100.0/total)
tree.write(sys.argv[2], 'UTF-8', True) tree.write(sys.argv[2], 'UTF-8', True)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment