summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Lint/Comments.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2011-04-25 10:58:48 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2011-04-25 10:58:48 -0400
commit5f7092b061cb200afef2eff2aa39fc150a6ea838 (patch)
tree7befeba23eaf296f361ce738003283f093b302e2 /src/lib/Server/Lint/Comments.py
parent17b8ceb17e0ee775a667d2f92b2b192e567b2df6 (diff)
downloadbcfg2-5f7092b061cb200afef2eff2aa39fc150a6ea838.tar.gz
bcfg2-5f7092b061cb200afef2eff2aa39fc150a6ea838.tar.bz2
bcfg2-5f7092b061cb200afef2eff2aa39fc150a6ea838.zip
unexpanded vcs keywords raise warning, not error
Diffstat (limited to 'src/lib/Server/Lint/Comments.py')
-rw-r--r--src/lib/Server/Lint/Comments.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Lint/Comments.py b/src/lib/Server/Lint/Comments.py
index 587f20603..8c83545b3 100644
--- a/src/lib/Server/Lint/Comments.py
+++ b/src/lib/Server/Lint/Comments.py
@@ -143,8 +143,8 @@ class Comments(Bcfg2.Server.Lint.ServerPlugin):
unexpanded = [keyword for (keyword, status) in found.items()
if status is None]
if unexpanded:
- self.LintError("%s: Required keywords(s) found but not expanded: %s" %
- (filename, ", ".join(unexpanded)))
+ self.LintWarning("%s: Required keywords(s) found but not expanded: %s" %
+ (filename, ", ".join(unexpanded)))
missing = [keyword for (keyword, status) in found.items()
if status is False]
if missing: