diff options
Diffstat (limited to 'test/functionalnosetests/swift_testing.py')
-rw-r--r-- | test/functionalnosetests/swift_testing.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/functionalnosetests/swift_testing.py b/test/functionalnosetests/swift_testing.py index ef4005e..c49d9cd 100644 --- a/test/functionalnosetests/swift_testing.py +++ b/test/functionalnosetests/swift_testing.py @@ -28,13 +28,10 @@ # See the License for the specific language governing permissions and # limitations under the License. -import errno import os import socket import sys from time import sleep -from nose import SkipTest -from ConfigParser import MissingSectionHeaderError from test import get_config @@ -168,10 +165,10 @@ def retry(func, *args, **kwargs): if attempts > retries: raise parsed[use_account] = conn[use_account] = None - except AuthError, err: + except AuthError: url[use_account] = token[use_account] = None continue - except InternalServerError, err: + except InternalServerError: pass if attempts <= retries: sleep(backoff) |