Mercurial > hg > graal-compiler
comparison mxtool/mx.py @ 8302:b246434a3e4a
made build-graal.xml be generated by mx
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 15 Mar 2013 18:09:19 +0100 |
parents | 3c74a32bb262 |
children | d1d486c03e8a |
comparison
equal
deleted
inserted
replaced
8291:950cc0d8bc7c | 8302:b246434a3e4a |
---|---|
628 # overwritten to create XMLElement | 628 # overwritten to create XMLElement |
629 e = XMLElement(tagName) | 629 e = XMLElement(tagName) |
630 e.ownerDocument = self | 630 e.ownerDocument = self |
631 return e | 631 return e |
632 | 632 |
633 def comment(self, txt): | |
634 self.current.appendChild(self.createComment(txt)) | |
635 | |
633 def open(self, tag, attributes={}, data=None): | 636 def open(self, tag, attributes={}, data=None): |
634 element = self.createElement(tag) | 637 element = self.createElement(tag) |
635 for key, value in attributes.items(): | 638 for key, value in attributes.items(): |
636 element.setAttribute(key, value) | 639 element.setAttribute(key, value) |
637 self.current.appendChild(element) | 640 self.current.appendChild(element) |