From 32c76cfd3119b0f46ac85a1d22f9fd8a08101242 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Tue, 15 Nov 2005 16:50:56 +0000 Subject: 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 --- src/sbin/ValidateBcfg2Repo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3-1-g7c22