From: Jonathan Corbet Date: Mon, 23 Nov 2009 18:17:13 +0000 (-0700) Subject: From: Iestyn Pryce X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3b39893928a6260715abc483f39638b597990565;p=people%2Flarsk%2Fxenproject-org-gitdm.git From: Iestyn Pryce Preserve spaces in the second parameter of the overall config file. Signed-off-by: Jonathan Corbet --- diff --git a/ConfigFile.py b/ConfigFile.py index 8009451..1ac2508 100644 --- a/ConfigFile.py +++ b/ConfigFile.py @@ -102,7 +102,7 @@ def ConfigFile (name): croak ('Unable to open config file %s' % (name)) line = ReadConfigLine (file) while line: - sline = line.split () + sline = line.split (None, 2) if len (sline) < 2: croak ('Funky config line: "%s"' % (line)) if sline[0] == 'EmailAliases':