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 Pluggable Back-end for Account Server
""" """
from __future__ import with_statement
import os import os
from uuid import uuid4 from uuid import uuid4
import time import time

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -13,8 +13,6 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from __future__ import with_statement
import os import os
import time import time
import traceback 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. are also not considered part of the backend API.
""" """
from __future__ import with_statement
import cPickle as pickle import cPickle as pickle
import errno import errno
import os import os

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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