From b3af858502a4b73d8dc73e4c0ab5c3d27b7fe82f Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 20 May 2013 01:30:19 +0200 Subject: [PATCH] Indentation fix - check for custom config file --- core-modules/000QubesVm.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index 03fc28e7..a7d88b71 100644 --- a/core-modules/000QubesVm.py +++ b/core-modules/000QubesVm.py @@ -1117,11 +1117,11 @@ class QubesVm(object): def create_config_file(self, file_path = None, source_template = None, prepare_dvm = False): if file_path is None: file_path = self.conf_file - if self.uses_custom_config: - conf_appvm = open(file_path, "r") - domain_config = conf_appvm.read() - conf_appvm.close() - return domain_config + if self.uses_custom_config: + conf_appvm = open(file_path, "r") + domain_config = conf_appvm.read() + conf_appvm.close() + return domain_config if source_template is None: source_template = self.template