From 544eefd3accf7f09cde0de09f05a58931be70e8a Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sat, 22 Jan 2005 20:35:43 +0000
Subject: [PATCH] no need to write config file if an option is missing

---
 Core/core.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/Core/core.py b/Core/core.py
index a3b4f4c1f7..654d8e4559 100644
--- a/Core/core.py
+++ b/Core/core.py
@@ -299,12 +299,9 @@ class GajimCore:
 		for part in default_tab.keys():
 			if not self.cfgParser.tab.has_key(part):
 				self.cfgParser.tab[part] = {}
-				self.cfgParser.writeCfgFile()
 			for option in default_tab[part].keys():
 				if not self.cfgParser.tab[part].has_key(option):
 					self.cfgParser.tab[part][option] = default_tab[part][option]
-				self.cfgParser.writeCfgFile()
-		self.parse()
 	# END init_cfg_file
 
 	def parse(self):
-- 
GitLab