[virt-tools-list] How to set _xml_property for <readonly/> element ?
Cole Robinson
crobinso at redhat.com
Thu Dec 22 18:32:16 UTC 2011
On 12/22/2011 09:05 AM, Deepak C Shetty wrote:
> 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 ?
>
is_bool=True, but from the patch you just sent I see you figured it out :)
I'll be reviewing your patches shortly.
Thanks,
Cole
More information about the virt-tools-list
mailing list