summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kconfiglib.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index e1f9d29..283da60 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -1908,17 +1908,17 @@ class Config(object):
additional_deps_str,
"Locations: " + locations_str)
- #
- # Warnings and misc.
- #
-
def _is_header_line(self, line):
"""Returns True is the line could be part of the initial header in a
.config file (which is really just another comment, but can be handy
- for storing metadata."""
+ for storing metadata)."""
return line is not None and line.startswith("#") and \
not self._unset_re.match(line)
+ #
+ # Warnings
+ #
+
def _warn(self, msg, filename=None, linenr=None):
"""For printing general warnings."""
if self._print_warnings: