Merge "Remove obsolete future imports"
This commit is contained in:
commit
901bd044c3
@ -16,7 +16,6 @@
|
||||
Pluggable Back-end for Account Server
|
||||
"""
|
||||
|
||||
from __future__ import with_statement
|
||||
import os
|
||||
from uuid import uuid4
|
||||
import time
|
||||
|
@ -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
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
""" Database code for Swift """
|
||||
|
||||
from __future__ import with_statement
|
||||
from contextlib import contextmanager, closing
|
||||
import hashlib
|
||||
import logging
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -16,7 +16,6 @@
|
||||
Pluggable Back-ends for Container Server
|
||||
"""
|
||||
|
||||
from __future__ import with_statement
|
||||
import os
|
||||
from uuid import uuid4
|
||||
import time
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
""" In-Memory Disk File Interface for Swift Object Server"""
|
||||
|
||||
from __future__ import with_statement
|
||||
import cStringIO
|
||||
import time
|
||||
import hashlib
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
""" In-Memory Object Server for Swift """
|
||||
|
||||
from __future__ import with_statement
|
||||
import os
|
||||
from swift import gettext_ as _
|
||||
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
""" Object Server for Swift """
|
||||
|
||||
from __future__ import with_statement
|
||||
import cPickle as pickle
|
||||
import os
|
||||
import multiprocessing
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
""" Tests for swift.account.backend """
|
||||
|
||||
from __future__ import with_statement
|
||||
import hashlib
|
||||
import unittest
|
||||
from time import sleep, time
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
"""Tests for swift.common.db"""
|
||||
|
||||
from __future__ import with_statement
|
||||
import os
|
||||
import unittest
|
||||
from shutil import rmtree, copy
|
||||
|
@ -16,7 +16,6 @@
|
||||
|
||||
"""Tests for swift.common.utils"""
|
||||
|
||||
from __future__ import with_statement
|
||||
from collections import defaultdict
|
||||
import logging
|
||||
import socket
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
"""Tests for swift.common.utils"""
|
||||
|
||||
from __future__ import with_statement
|
||||
from test.unit import temptree
|
||||
|
||||
import ctypes
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
"""Tests for swift.common.wsgi"""
|
||||
|
||||
from __future__ import with_statement
|
||||
import errno
|
||||
import logging
|
||||
import mimetools
|
||||
|
@ -15,7 +15,6 @@
|
||||
|
||||
""" Tests for swift.container.backend """
|
||||
|
||||
from __future__ import with_statement
|
||||
import hashlib
|
||||
import unittest
|
||||
from time import sleep, time
|
||||
|
@ -16,8 +16,6 @@
|
||||
|
||||
"""Tests for swift.obj.diskfile"""
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
import cPickle as pickle
|
||||
import os
|
||||
import errno
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user