summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/parse_py/ConfHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/parse/parse_py/ConfHandler.py')
-rw-r--r--bitbake/lib/bb/parse/parse_py/ConfHandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
index 9b09c9f56a..8f3f120ed5 100644
--- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
@@ -108,7 +108,7 @@ def handle(fn, data, include):
108 while s[-1] == '\\': 108 while s[-1] == '\\':
109 s2 = f.readline().strip() 109 s2 = f.readline().strip()
110 lineno = lineno + 1 110 lineno = lineno + 1
111 if s2 and s[0] == "#" and s2[0] != "#": 111 if (not s2 or s2 and s2[0] != "#") and s[0] == "#" :
112 bb.fatal("There is a confusing multiline, partially commented expression on line %s of file %s (%s).\nPlease clarify whether this is all a comment or should be parsed." % (lineno, fn, s)) 112 bb.fatal("There is a confusing multiline, partially commented expression on line %s of file %s (%s).\nPlease clarify whether this is all a comment or should be parsed." % (lineno, fn, s))
113 s = s[:-1] + s2 113 s = s[:-1] + s2
114 # skip comments 114 # skip comments