Merge "Remove obsolete future imports"
This commit is contained in:
commit
901bd044c3
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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 _
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user