Kaydet (Commit) 5170d822 authored tarafından Miklos Vajna's avatar Miklos Vajna

writerfilter: remove unused application attribute

Change-Id: Ic4e16f8303611197e7d2a149e85c7b73dc30bcc8
üst fe04ce92
...@@ -133,12 +133,6 @@ def preprocess(model): ...@@ -133,12 +133,6 @@ def preprocess(model):
j.setAttribute("prefix", prefix) j.setAttribute("prefix", prefix)
j.setAttribute("localname", localname) j.setAttribute("localname", localname)
for i in model.getElementsByTagName("grammar"):
if i.getAttribute("ns").startswith("http://schemas.openxmlformats.org/"):
i.setAttribute("application", i.getAttribute("ns").replace('http://schemas.openxmlformats.org/', '').split('/')[0])
else:
i.setAttribute("application", "")
namespacesPath = sys.argv[1] namespacesPath = sys.argv[1]
modelPath = sys.argv[2] modelPath = sys.argv[2]
......
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