From 304d2b10bc703e8f493ce0354db26db04b65ee19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 16 Mar 2016 00:57:19 +0100 Subject: [PATCH] backup: fix handline "None" kernel --- qubes/backup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes/backup.py b/qubes/backup.py index d58cff94..a671d2d2 100644 --- a/qubes/backup.py +++ b/qubes/backup.py @@ -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[