summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-04 09:26:11 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-04 09:27:04 +0200
commitc48954d6d2a78d63bea8104f79e05f3f18723c47 (patch)
tree8f9e423d66317a5baab120d4c57d40a9bb2d4437
parentdc9be3cfbee9f4383ececaa48afe28cc75d13f34 (diff)
Note that _FileFeed joins lines ending in \.
-rw-r--r--kconfiglib.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index d8fba6c..9b1bbca 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -3625,8 +3625,9 @@ class _Feed(object):
class _FileFeed(_Feed):
- """_Feed subclass that feeds lines from a file. Keeps track of the filename
- and current line number."""
+ """_Feed subclass that feeds lines from a file. Joins any line ending in
+ \\ with the following line. Keeps track of the filename and current line
+ number."""
def __init__(self, filename):
self.filename = _clean_up_path(filename)