소스 검색

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():