path: root/swiftkerbauth
diff options
authorPrashanth Pai <>2013-10-08 11:57:36 +0530
committerLuis Pabon <>2013-10-09 04:25:21 -0700
commitbe359eabbbbf8269a5fa3aebaef17cec48c44176 (patch)
tree8c2c1a85b2ac7b0c95fedf726fa1c157124ba219 /swiftkerbauth
parenta920ebbdbfe97f3a221b3578bef1505a3700b13d (diff)
Use HTTPFound if HTTPSeeOther doesn't exist in swob
This is a temporary fix to run unit tests. HTTPSeeOther has been added to swift codebase but is not present in swift 1.9.1 Change-Id: I38207a76c38aa091e790ad0b5e1253505fbc8fb8 Signed-off-by: Prashanth Pai <> Reviewed-on: Reviewed-by: Luis Pabon <> Tested-by: Luis Pabon <>
Diffstat (limited to 'swiftkerbauth')
1 files changed, 6 insertions, 2 deletions
diff --git a/swiftkerbauth/ b/swiftkerbauth/
index a37f1f6..323a677 100644
--- a/swiftkerbauth/
+++ b/swiftkerbauth/
@@ -17,8 +17,12 @@ from traceback import format_exc
from eventlet import Timeout
from swift.common.swob import Request
-from swift.common.swob import HTTPBadRequest, HTTPForbidden, HTTPNotFound, \
- HTTPSeeOther
+from swift.common.swob import HTTPBadRequest, HTTPForbidden, HTTPNotFound
+ from swift.common.swob import HTTPSeeOther
+except ImportError:
+ from swift.common.swob import HTTPFound as HTTPSeeOther
from swift.common.middleware.acl import clean_acl, parse_acl, referrer_allowed
from swift.common.utils import cache_from_env, get_logger, \