backup: fix handline "None" kernel

Esse commit está contido em:
Marek Marczykowski-Górecki 2016-03-16 00:57:19 +01:00 commit de Wojtek Porczyk
commit 304d2b10bc

Ver arquivo

@ -2237,7 +2237,7 @@ class BackupRestore(object):
if hasattr(vm, 'kernel'):
# TODO: add a setting for this?
if not vm.property_is_default('kernel') and \
if not vm.property_is_default('kernel') and vm.kernel and \
vm.kernel not in \
os.listdir(os.path.join(qubes.config.qubes_base_dir,
qubes.config.system_path[