[virt-tools-list] [virt-manager PATCH] Typos fix and minor cleanup
Martin Kletzander
mkletzan at redhat.com
Tue Sep 3 07:09:46 UTC 2013
Commit 57aab5de copy-pasted a typo, introduced a new one and used bad
order of parameters, so I'm fixing it so we're not stuck with it
forever.
Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
---
Notes:
Pushed as 'trivial'.
virtinst/xmlbuilder.py | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/virtinst/xmlbuilder.py b/virtinst/xmlbuilder.py
index 3e7dde8..abf7941 100644
--- a/virtinst/xmlbuilder.py
+++ b/virtinst/xmlbuilder.py
@@ -250,9 +250,8 @@ class XMLProperty(property):
def __init__(self, doc=None, xpath=None, name=None,
set_converter=None, validate_cb=None,
make_getter_xpath_cb=None, make_setter_xpath_cb=None,
- is_bool=False, is_int=False, is_yesno=False,
- clear_first=None, default_cb=None, default_name=None,
- is_onoff=False):
+ is_bool=False, is_int=False, is_yesno=False, is_onoff=False,
+ clear_first=None, default_cb=None, default_name=None):
"""
Set a XMLBuilder class property that represents a value in the
<domain> XML. For example
@@ -281,9 +280,9 @@ class XMLProperty(property):
static xpath. This allows passing functions which generate
an xpath for getting or setting.
@param is_bool: Whether this is a boolean property in the XML
- @param is_int: Whethere this is an integer property in the XML
- @param is_yesno: Whethere this is a yes/no property in the XML
- @param is_onoff: Whethere this is a on/off property in the XML
+ @param is_int: Whether this is an integer property in the XML
+ @param is_yesno: Whether this is a yes/no property in the XML
+ @param is_onoff: Whether this is an on/off property in the XML
@param clear_first: List of xpaths to unset before any 'set' operation.
For those weird interdependent XML props like disk source type and
path attribute.
--
1.8.3.2
More information about the virt-tools-list
mailing list