瀏覽代碼

core: Fix handling the case when no settings file present.

Marek Marczykowski-Górecki 11 年之前
父節點
當前提交
b323a4d1e3
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      core/qubes.py

+ 1 - 2
core/qubes.py

@@ -877,8 +877,7 @@ for module_file in sorted(os.listdir(modules_dir)):
 try:
     import qubes.settings
     qubes.settings.apply(system_path, vm_files, defaults)
-#except ImportError:
-finally:
+except ImportError:
     pass
 
 for path_key in system_path.keys():