Merge "Remove obsolete future imports"

This commit is contained in:
Jenkins 2013-11-22 22:25:13 +00:00 committed by Gerrit Code Review
commit 901bd044c3
22 changed files with 0 additions and 28 deletions

View File

@ -16,7 +16,6 @@
Pluggable Back-end for Account Server
"""
from __future__ import with_statement
import os
from uuid import uuid4
import time

View File

@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import with_statement
import os
import time
import traceback

View File

@ -15,7 +15,6 @@
""" Database code for Swift """
from __future__ import with_statement
from contextlib import contextmanager, closing
import hashlib
import logging

View File

@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import with_statement
import os
import random
import math

View File

@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import with_statement
import functools
import errno
import os

View File

@ -16,7 +16,6 @@
Pluggable Back-ends for Container Server
"""
from __future__ import with_statement
import os
from uuid import uuid4
import time

View File

@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import with_statement
import os
import time
import traceback

View File

@ -30,7 +30,6 @@ The remaining methods in this module are considered implementation specifc and
are also not considered part of the backend API.
"""
from __future__ import with_statement
import cPickle as pickle
import errno
import os

View File

@ -15,7 +15,6 @@
""" In-Memory Disk File Interface for Swift Object Server"""
from __future__ import with_statement
import cStringIO
import time
import hashlib

View File

@ -15,7 +15,6 @@
""" In-Memory Object Server for Swift """
from __future__ import with_statement
import os
from swift import gettext_ as _

View File

@ -15,7 +15,6 @@
""" Object Server for Swift """
from __future__ import with_statement
import cPickle as pickle
import os
import multiprocessing

View File

@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import with_statement
import urllib
import eventlet

View File

@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import with_statement
import urllib
import eventlet

View File

@ -15,7 +15,6 @@
""" Tests for swift.account.backend """
from __future__ import with_statement
import hashlib
import unittest
from time import sleep, time

View File

@ -15,7 +15,6 @@
"""Tests for swift.common.db"""
from __future__ import with_statement
import os
import unittest
from shutil import rmtree, copy

View File

@ -16,7 +16,6 @@
"""Tests for swift.common.utils"""
from __future__ import with_statement
from collections import defaultdict
import logging
import socket

View File

@ -15,7 +15,6 @@
"""Tests for swift.common.utils"""
from __future__ import with_statement
from test.unit import temptree
import ctypes

View File

@ -15,7 +15,6 @@
"""Tests for swift.common.wsgi"""
from __future__ import with_statement
import errno
import logging
import mimetools

View File

@ -15,7 +15,6 @@
""" Tests for swift.container.backend """
from __future__ import with_statement
import hashlib
import unittest
from time import sleep, time

View File

@ -16,8 +16,6 @@
"""Tests for swift.obj.diskfile"""
from __future__ import with_statement
import cPickle as pickle
import os
import errno

View File

@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import with_statement
import unittest
import os
import mock

View File

@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import with_statement
import cPickle as pickle
import logging
import os