summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-07-10 17:11:16 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-07-10 17:11:16 +0000
commitaecb51a66cada9bcbae27c3f6047050880cffa96 (patch)
treeef5863f9def8846c0a3c946c30c3afed4ccf7911 /src
parent921dd44a03856b81972d46dcab747f0951ca09fd (diff)
downloadbcfg2-aecb51a66cada9bcbae27c3f6047050880cffa96.tar.gz
bcfg2-aecb51a66cada9bcbae27c3f6047050880cffa96.tar.bz2
bcfg2-aecb51a66cada9bcbae27c3f6047050880cffa96.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Proxy.py4
1 files changed, 2 insertions, 2 deletions
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