From 7bbaf7e7cf131d83931bfda2d2e8e5d6ef1b235f Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Sat, 28 Oct 2017 05:46:25 +0200 Subject: Add uncommitted test files --- kconfiglib.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kconfiglib.py') 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 " -- cgit v1.2.3