summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r--bitbake/lib/bb/parse/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index 4293d09c7a..3f93ad2e6a 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -87,7 +87,8 @@ def handle(fn, data, include = 0):
87 """Call the handler that is appropriate for this file""" 87 """Call the handler that is appropriate for this file"""
88 for h in handlers: 88 for h in handlers:
89 if h['supports'](fn, data): 89 if h['supports'](fn, data):
90 return h['handle'](fn, data, include) 90 with data.inchistory.include(fn):
91 return h['handle'](fn, data, include)
91 raise ParseError("not a BitBake file", fn) 92 raise ParseError("not a BitBake file", fn)
92 93
93def init(fn, data): 94def init(fn, data):