Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 075a4bc

Browse files
committed
Remove unimplemented NodeDeviceParser method.
1 parent 1cb8bec commit 075a4bc

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

virtinst/NodeDeviceParser.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,6 @@ def __init__(self, node):
4040

4141
self._parseNodeXML(node)
4242

43-
def getVirtualHostDevice(self, conn):
44-
"""
45-
Convert this NodeDevice to a VirtualHostDevice for attaching to a
46-
guest.
47-
48-
@param conn: connection to pass to the VirtualHostDevice instance
49-
@type conn: libvirt.virConnect
50-
51-
@rtype: L{virtinst.VirtualHostDevice}
52-
"""
53-
raise ValueError(_("Node device type '%s' cannot be "
54-
"attached.") % self.device_type)
5543

5644
def _parseNodeXML(self, node):
5745
child = node.children

0 commit comments

Comments
 (0)