From 80c86fffb4e7317d0fdaa88acc34bcc3f6f3b748 Mon Sep 17 00:00:00 2001 From: Jeremie Dimino Date: Sat, 9 Feb 2008 16:51:44 +0100 Subject: [PATCH] =?UTF-8?q?Un=20peu=20plus=20tol=C3=A9rant.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20080209155144-af139-1862de75e4c9e2db29191f6d0738a792391d148b.gz --- bcfg2/pygen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bcfg2/pygen.py b/bcfg2/pygen.py index 3f5a534c..d2c19b48 100755 --- a/bcfg2/pygen.py +++ b/bcfg2/pygen.py @@ -103,7 +103,7 @@ class Environment(dict): __re_special_line = re.compile(r"^([ \t]*)(@|%)(.*)$", re.MULTILINE) __re_affectation = re.compile(r"([a-zA-Z_][a-zA-Z_0-9]*)[ \t]*=") -__re_space_sep = re.compile(r"([^ \t]*)([ \t].*)") +__re_space_sep = re.compile(r"([^ \t]*)[ \t]+=?(.*)") def compileSource(source, filename=""): '''Compile un script'''