summaryrefslogtreecommitdiffstats
path: root/swiftkerbauth/kerbauth.py
diff options
context:
space:
mode:
Diffstat (limited to 'swiftkerbauth/kerbauth.py')
-rw-r--r--swiftkerbauth/kerbauth.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/swiftkerbauth/kerbauth.py b/swiftkerbauth/kerbauth.py
index 612299d..a1ba091 100644
--- a/swiftkerbauth/kerbauth.py
+++ b/swiftkerbauth/kerbauth.py
@@ -17,12 +17,8 @@ from traceback import format_exc
from eventlet import Timeout
from swift.common.swob import Request
-from swift.common.swob import HTTPBadRequest, HTTPForbidden, HTTPNotFound
-
-try:
- from swift.common.swob import HTTPSeeOther
-except ImportError:
- from swift.common.swob import HTTPFound as HTTPSeeOther
+from swift.common.swob import HTTPBadRequest, HTTPForbidden, HTTPNotFound, \
+ HTTPSeeOther
from swift.common.middleware.acl import clean_acl, parse_acl, referrer_allowed
from swift.common.utils import cache_from_env, get_logger, \