summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-17 16:00:58 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-17 16:01:55 +0200
commit3d7155affc4760e6d3fb132da1e9f858238c5f02 (patch)
tree1d91210d5bb5f3e7a2e6abd2ab9e98536c36ed99
parentca2fd02a35aab3a9412eaf4ddaf281c476371e32 (diff)
Remove probably unhelpful tokenization comment.
The regexes handle most stripping of trailing space now too.
-rw-r--r--kconfiglib.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 761b754..b7120f7 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -616,9 +616,6 @@ class Config(object):
in which case we should not treat the first token specially nor
register new symbols."""
- # lstrip() would work here too, but removing the '\n' at the end leads
- # to earlier termination in the 'while' loop below, saving lots of
- # calls
s = s.strip()
if s == "" or s[0] == "#":
return _Feed([])