Fixed setting netvm of FWVM

This commit is contained in:
Tomasz Sterna 2011-02-09 21:45:09 +01:00 committed by Marek Marczykowski
parent 60caf9af7f
commit 026a109d1f

View File

@ -947,9 +947,7 @@ class QubesFirewallVm(QubesNetVm):
A class that represents a FirewallVM. A child of QubesNetVM.
"""
def __init__(self, **kwargs):
self.netvm_vm = kwargs.pop("netvm_vm") if "netvm_vm" in kwargs else None
super(QubesFirewallVm, self).__init__(**kwargs)
super(QubesFirewallVm, self).__init__(uses_default_netvm=False, **kwargs)
@property
def type(self):