summaryrefslogtreecommitdiff
path: root/virtinst/xmlbuilder.py
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2018-03-20 12:18:35 -0400
committerCole Robinson <crobinso@redhat.com>2018-03-21 07:29:40 -0400
commit1c911ce5676099e184c4cae9ceb399b0b376b413 (patch)
treef188a3a0696a1e339effac4ccc6a21183f0bd7bc /virtinst/xmlbuilder.py
parent93c22eff797b4fee6bcfaccaf629b6e5e7f2deee (diff)
downloadvirt-manager-1c911ce5676099e184c4cae9ceb399b0b376b413.tar.gz
virtinst: Give device classes consistent DeviceX naming
Previous state was inconsistenty and needlessly wordy. Fix up a few other class namings that have redundant Virtual in the name
Diffstat (limited to 'virtinst/xmlbuilder.py')
-rw-r--r--virtinst/xmlbuilder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/virtinst/xmlbuilder.py b/virtinst/xmlbuilder.py
index fdce38e2..2df06e12 100644
--- a/virtinst/xmlbuilder.py
+++ b/virtinst/xmlbuilder.py
@@ -483,7 +483,7 @@ class _XMLState(object):
def make_abs_xpath(self, xpath):
"""
- Convert a relative xpath to an absolute xpath. So for VirtualDisk
+ Convert a relative xpath to an absolute xpath. So for DeviceDisk
that's part of a Guest, accessing driver_name will do convert:
./driver/@name
to an absolute xpath like:
@@ -516,7 +516,7 @@ class XMLBuilder(object):
"""
Initialize state
- :param conn: VirtualConnection to validate device against
+ :param conn: VirtinstConnection to validate device against
:param parsexml: Optional XML string to parse
The rest of the parameters are for internal use only