QubesWniVmStorage: pass all positional parameters to base class

This commit is contained in:
Marek Marczykowski-Górecki 2013-08-02 22:23:26 +02:00
parent 392b70a4d8
commit f927f12e39

View File

@ -37,8 +37,8 @@ class QubesWniVmStorage(QubesVmStorage):
Class for VM storage of WNI VMs.
"""
def __init__(self, vm, **kwargs):
super(QubesWniVmStorage, self).__init__(vm, **kwargs)
def __init__(self, *args, **kwargs):
super(QubesWniVmStorage, self).__init__(*args, **kwargs)
# Use the user profile as "private.img"
self.private_img = os.path.join("c:\\Users", self.vm.name)