Import HTTPBadRequest from swift's module
Functional tests used to fail as incorrect HTTPBadRequest was being imported. Change-Id: I95b13fbe45e435b27628e532ae1637957172f081 Signed-off-by: Prashanth Pai <ppai@redhat.com>
This commit is contained in:
parent
74d02e6c6e
commit
ad0bb79827
@ -14,10 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import os
|
||||
try:
|
||||
from webob.exc import HTTPBadRequest
|
||||
except ImportError:
|
||||
from swift.common.swob import HTTPBadRequest
|
||||
from swift.common.swob import HTTPBadRequest
|
||||
import swift.common.constraints
|
||||
import swift.common.ring as _ring
|
||||
from gluster.swift.common import Glusterfs, ring
|
||||
|
Loading…
x
Reference in New Issue
Block a user