dom0: typo fix in default_fw_netvm saving

This commit is contained in:
Marek Marczykowski 2011-10-01 02:55:22 +02:00
parent 3c7f8b97cd
commit f0038d2ec7

View File

@ -2258,7 +2258,7 @@ class QubesVmCollection(dict):
if default_netvm != "None" else None
#assert self.default_netvm_qid is not None
default_fw_netvm = element.get("default_netvm")
default_fw_netvm = element.get("default_fw_netvm")
if default_fw_netvm is not None:
self.default_fw_netvm_qid = int(default_fw_netvm) \
if default_fw_netvm != "None" else None