mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-23 17:34:21 +03:00
virtinst: fix two undefined variable warnings
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
745fa9fa5e
commit
76d6c5b597
@ -55,7 +55,7 @@ class VirtualHostDevice(VirtualDevice):
|
||||
if not count:
|
||||
raise RuntimeError(_("Could not find USB device "
|
||||
"(vendorId: %s, productId: %s)")
|
||||
% (vendor, product))
|
||||
% (self.vendor, self.product))
|
||||
|
||||
if count > 1:
|
||||
self.bus = nodedev.bus
|
||||
|
Loading…
Reference in New Issue
Block a user