qvm-tools/qubes-prefs: report empty setting as empty string instead of "none" (#894)

This commit is contained in:
Marek Marczykowski-Górecki 2014-09-04 23:54:40 +02:00
parent be8d807624
commit 6dbaede3d0

View File

@ -61,7 +61,7 @@ def handle_vm(vms, label, new_value = None):
if vm is not None: if vm is not None:
return vm.name return vm.name
else: else:
return "none" return ""
def handle_kernel(vms, label, new_value = None): def handle_kernel(vms, label, new_value = None):
if new_value is not None: if new_value is not None: