summaryrefslogtreecommitdiff
path: root/kconfiglib.py
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-05-17 21:38:56 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2019-05-19 02:26:10 +0200
commita75e073072399aa59fa52a0a0e02cbc1e9722dca (patch)
tree12db566e5fed44aea7dd47426f8e0290268b1f40 /kconfiglib.py
parent67be3f0be01185ab2e7a0460c30dd939236b4f8c (diff)
Comment nit
Diffstat (limited to 'kconfiglib.py')
-rw-r--r--kconfiglib.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 080d121..ae8b167 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -2661,8 +2661,8 @@ class Kconfig(object):
self._leave_file()
elif t0 is end_token:
- # We have reached the end of the block. Terminate the final
- # node and return it.
+ # Reached the end of the block. Terminate the final node and
+ # return it.
if self._tokens[1] is not None:
self._trailing_tokens_error()
@@ -3632,12 +3632,10 @@ class Kconfig(object):
sym.name != "MODULES":
msg = "undefined symbol {}:".format(sym.name)
-
for node in self.node_iter():
if sym in node.referenced:
msg += "\n\n- Referenced at {}:{}:\n\n{}" \
.format(node.filename, node.linenr, node)
-
self._warn(msg)
def _warn(self, msg, filename=None, linenr=None):