summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2018-11-21 05:28:42 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2018-11-21 05:28:42 +0100
commit6313925b31144728551040db8b2d1c8a0a51fed1 (patch)
tree7c44ef368803851f7d47f2b38815f72a568b3637
parenta1a44309756c1f69ab66fd6c165480f93ccb0d5d (diff)
Remove message re. Kconfiglib 10 backwards compat. break
The message has been in for three months now. Hopefully that was enough for it to get noticed.
-rw-r--r--kconfiglib.py17
1 files changed, 1 insertions, 16 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index ae82f23..16ad356 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -953,13 +953,7 @@ class Kconfig(object):
self._linenr = 0
# Open the top-level Kconfig file
- try:
- self._file = self._open(os.path.join(self.srctree, filename), "r")
- except IOError as e:
- if self.srctree:
- print(textwrap.fill(
- _INIT_SRCTREE_NOTE.format(self.srctree), 80))
- raise
+ self._file = self._open(os.path.join(self.srctree, filename), "r")
try:
# Parse everything
@@ -6485,12 +6479,3 @@ _REL_TO_STR = {
GREATER: ">",
GREATER_EQUAL: ">=",
}
-
-_INIT_SRCTREE_NOTE = """\
-NOTE: Starting with Kconfiglib 10.0.0, the Kconfig filename passed to
-Kconfig.__init__() is looked up relative to $srctree (which is set to '{}')
-instead of relative to the working directory. Previously, $srctree only applied
-to files being source'd within Kconfig files. This change makes running scripts
-out-of-tree work seamlessly, with no special coding required. Sorry for the
-backwards compatibility break!
-"""