From 5f8bffc03f1d51a7a8ff2e4c7796427bde64007e Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Tue, 5 Apr 2005 21:05:06 +0000
Subject: [PATCH] optparser can now restore values that have spaces at the
 begining or at the end

---
 common/optparser.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/common/optparser.py b/common/optparser.py
index 537c359b08..02a1a6c866 100644
--- a/common/optparser.py
+++ b/common/optparser.py
@@ -46,8 +46,7 @@ class OptionsParser:
 				continue
 			option = line[0:index]
 			option = option.strip()
-			value = line[index+1:]
-			value = value.strip()
+			value = line[index+2:-1]
 			if string.find(option, 'password') == -1:
 				try:
 					i = string.atoi(value)
-- 
GitLab