summaryrefslogtreecommitdiffstats
path: root/utils/checkpackagelib/lib_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/checkpackagelib/lib_config.py')
-rw-r--r--utils/checkpackagelib/lib_config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/checkpackagelib/lib_config.py b/utils/checkpackagelib/lib_config.py
index 11d885f8c7..1d273f1c5f 100644
--- a/utils/checkpackagelib/lib_config.py
+++ b/utils/checkpackagelib/lib_config.py
@@ -132,6 +132,12 @@ class Indent(_CheckFunction):
text]
elif entry in entries_that_should_not_be_indented:
if not text.startswith(entry):
+ # four Config.in files have a special but legitimate indentation rule
+ if self.filename in ["package/Config.in",
+ "package/Config.in.host",
+ "package/kodi/Config.in",
+ "package/x11r7/Config.in"]:
+ return
return ["{}:{}: should not be indented"
.format(self.filename, lineno),
text]
OpenPOWER on IntegriCloud