mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-10-26 17:25:22 +03:00
addhardware: Remove unused is_customize_dialog
This commit is contained in:
parent
472cfbc2a7
commit
a54b83072a
@ -64,12 +64,11 @@ def _build_combo(combo, values, default_value=None, sort=True):
|
||||
|
||||
|
||||
class vmmAddHardware(vmmGObjectUI):
|
||||
def __init__(self, vm, is_customize_dialog):
|
||||
def __init__(self, vm):
|
||||
vmmGObjectUI.__init__(self, "addhardware.ui", "vmm-add-hardware")
|
||||
|
||||
self.vm = vm
|
||||
self.conn = vm.conn
|
||||
self.is_customize_dialog = is_customize_dialog
|
||||
|
||||
self._storagebrowser = None
|
||||
|
||||
|
@ -1047,7 +1047,7 @@ class vmmDetails(vmmGObjectUI):
|
||||
def add_hardware(self, src_ignore):
|
||||
try:
|
||||
if self.addhw is None:
|
||||
self.addhw = vmmAddHardware(self.vm, self.is_customize_dialog)
|
||||
self.addhw = vmmAddHardware(self.vm)
|
||||
|
||||
self.addhw.show(self.topwin)
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user