From 93c4ab0a9d32f35209f028cf501626a02109fbb8 Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Sat, 10 Sep 2005 09:30:46 +0000
Subject: [PATCH] fix a typo

---
 src/common/config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/config.py b/src/common/config.py
index 85ffe7d12f..31fd207d8d 100644
--- a/src/common/config.py
+++ b/src/common/config.py
@@ -424,7 +424,7 @@ class Config:
 			return
 
 		opt = self.__options_per_key[typename]
-		if item is None:
+		if subname is None:
 			del opt[1][name]
 		# if subname is specified, delete the item in the group.	
 		elif opt[1][name].has_key(subname):
-- 
GitLab