summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-11-21 01:11:14 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-11-21 01:11:14 +0000
commit7aece43cbf6623cccac125db4868df0c7e9f8f90 (patch)
tree2afa6c09dff1579524eb9e79e7b31b153e923c04 /src/lib
parent0ebab90ee5763c6e3772d150f0948003a360188d (diff)
downloadbcfg2-7aece43cbf6623cccac125db4868df0c7e9f8f90.tar.gz
bcfg2-7aece43cbf6623cccac125db4868df0c7e9f8f90.tar.bz2
bcfg2-7aece43cbf6623cccac125db4868df0c7e9f8f90.zip
Xcmd: improve error handling for authentication failures [bugfix]
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5589 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Server/Admin/Xcmd.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/Server/Admin/Xcmd.py b/src/lib/Server/Admin/Xcmd.py
index 7d6195fa0..7febd4275 100644
--- a/src/lib/Server/Admin/Xcmd.py
+++ b/src/lib/Server/Admin/Xcmd.py
@@ -44,6 +44,8 @@ class Xcmd(Bcfg2.Server.Admin.Mode):
if flt.faultCode == 7:
print("Unknown method %s" % cmd)
return
+ elif flt.faultCode == 20:
+ return
else:
raise
if data != None: