summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-12-05 15:52:55 -0500
committerMichael DeHaan <mdehaan@redhat.com>2007-12-05 15:52:55 -0500
commitd0b9491bd3cea8c46d22d9e44d75bac556e03985 (patch)
tree57055c3f2339a4363f054a206c7dc8cb2376688d /scripts
parentad2786aca0720eb4b70f2692224ef97b4f48e086 (diff)
downloadthird_party-cobbler-d0b9491bd3cea8c46d22d9e44d75bac556e03985.tar.gz
third_party-cobbler-d0b9491bd3cea8c46d22d9e44d75bac556e03985.tar.xz
third_party-cobbler-d0b9491bd3cea8c46d22d9e44d75bac556e03985.zip
Fixes + changelog.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/index.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/index.py b/scripts/index.py
index c5ff4c0..f7193f8 100755
--- a/scripts/index.py
+++ b/scripts/index.py
@@ -120,12 +120,14 @@ def authenhandler(req):
apache.log_error("authenhandler called: %s" % my_user)
try:
token = xmlrpc_server.login(my_user,my_pw)
- except:
+ except Exception, e:
+ apache.log_error(str(e))
return apache.HTTP_UNAUTHORIZED
try:
ok = xmlrpc_server.check_access(token,my_uri)
- except:
+ except Exception, e:
+ apache.log_error(str(e))
return apache.HTTP_FORBIDDEN