[virt-tools-list] How to set _xml_property for <readonly/> element ?

Deepak C Shetty deepakcs at linux.vnet.ibm.com
Thu Dec 22 14:05:50 UTC 2011


I am doing this, in details.py, but its not working...

     def _set_readonly(self, val):
        self._readonly = val
     readonly = _xml_property(_get_readonly, _set_readonly, 
xpath="./readonly")

How to set the xpath for a standalone xml element like readonly ?




More information about the virt-tools-list mailing list