From 8841fe852ebccf93a36d5d53ace4b1c8c67e55ec Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Thu, 13 Dec 2012 14:03:05 +0100 Subject: Do not indent user-provided .config header. Inflexible. --- kconfiglib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kconfiglib.py') diff --git a/kconfiglib.py b/kconfiglib.py index 2053137..6c59a38 100644 --- a/kconfiglib.py +++ b/kconfiglib.py @@ -3645,7 +3645,7 @@ def _sep_lines(*args): def _comment(s): """Returns a new string with "# " inserted before each line in 's'.""" - return "\n".join(["# " + line for line in s.splitlines()]) + return "\n".join(["#" + line for line in s.splitlines()]) def _get_lines(filename): """Returns a list of lines from 'filename', joining any line ending in \\ -- cgit v1.2.3