diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-04-25 10:58:48 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2011-04-25 10:58:48 -0400 |
commit | 5f7092b061cb200afef2eff2aa39fc150a6ea838 (patch) | |
tree | 7befeba23eaf296f361ce738003283f093b302e2 | |
parent | 17b8ceb17e0ee775a667d2f92b2b192e567b2df6 (diff) | |
download | bcfg2-5f7092b061cb200afef2eff2aa39fc150a6ea838.tar.gz bcfg2-5f7092b061cb200afef2eff2aa39fc150a6ea838.tar.bz2 bcfg2-5f7092b061cb200afef2eff2aa39fc150a6ea838.zip |
unexpanded vcs keywords raise warning, not error
-rw-r--r-- | src/lib/Server/Lint/Comments.py | 4 |
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: |