summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 3262b43..1bf61a6 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -893,6 +893,8 @@ class Config(object):
self._file = self._open(filename)
except IOError as e:
# Extend the error message a bit in this case
+ # TODO: broken for top-level Kconfig (because
+ # self._filename/_linenr isn't set)
raise IOError(
"{}:{}: {} Also note that e.g. $FOO in a 'source' "
"statement does not refer to the environment "