summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2005-11-15 16:50:56 +0000
committerNarayan Desai <desai@mcs.anl.gov>2005-11-15 16:50:56 +0000
commit32c76cfd3119b0f46ac85a1d22f9fd8a08101242 (patch)
tree45dad68755e8463ca07dec2e6b0781e42b802cf8 /src
parent78c3f79d7623387a0bb3c95bf5a64890358d0852 (diff)
downloadbcfg2-32c76cfd3119b0f46ac85a1d22f9fd8a08101242.tar.gz
bcfg2-32c76cfd3119b0f46ac85a1d22f9fd8a08101242.tar.bz2
bcfg2-32c76cfd3119b0f46ac85a1d22f9fd8a08101242.zip
switch behavior to be less chatty
(Logical change 1.359) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1499 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r--src/sbin/ValidateBcfg2Repo3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sbin/ValidateBcfg2Repo b/src/sbin/ValidateBcfg2Repo
index 4da868690..26a89abea 100644
--- a/src/sbin/ValidateBcfg2Repo
+++ b/src/sbin/ValidateBcfg2Repo
@@ -42,6 +42,7 @@ if __name__ == '__main__':
print "Failed to open file %s \t\t<---" % (filename)
continue
if schema.validate(datafile):
- print "%s checks out" % (filename)
+ if '-v' in argv:
+ print "%s checks out" % (filename)
else:
print "%s ***FAILS*** to verify \t\t<----" % (filename)