From aecb51a66cada9bcbae27c3f6047050880cffa96 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 10 Jul 2006 17:11:16 +0000 Subject: Fixup error messages for config problems (from Sami Haahtinen) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1922 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Client/Proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/Client/Proxy.py b/src/lib/Client/Proxy.py index 521d7110c..17a1b0ff2 100644 --- a/src/lib/Client/Proxy.py +++ b/src/lib/Client/Proxy.py @@ -128,12 +128,12 @@ class SafeProxy: try: _components = _cfile._sections['components'] except KeyError: - print "cobalt.conf doesn't contain a valid components section" + print "%s doesn't contain a valid components section" % (_cfpath) raise SystemExit, 1 try: _authinfo = ('root', _cfile.get('communication', 'password')) except KeyError: - print "cobalt.conf doesn't contain a valid communication setup" + print "%s doesn't contain a valid communication setup" % (_cfpath) raise SystemExit, 1 _retries = 4 -- cgit v1.2.3-1-g7c22