diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-11-21 01:11:14 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-11-21 01:11:14 +0000 |
commit | 7aece43cbf6623cccac125db4868df0c7e9f8f90 (patch) | |
tree | 2afa6c09dff1579524eb9e79e7b31b153e923c04 /src/lib | |
parent | 0ebab90ee5763c6e3772d150f0948003a360188d (diff) | |
download | bcfg2-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.py | 2 |
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: |