Explorar el Código

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

Marek Marczykowski-Górecki hace 11 años
padre
commit
b323a4d1e3
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  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():