Remove __future__ imports

Change-Id: Ibd3d5f83fcd31d78447a894ff4426e3e1b62e5a8
This commit is contained in:
Tim Burke 2025-03-05 12:50:21 -08:00
parent 0a8ecbc554
commit bae8cd0db8
29 changed files with 0 additions and 29 deletions

View File

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import os
import sys
import getopt

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import optparse
import os
import sys

View File

@ -13,7 +13,6 @@
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import io
import traceback

View File

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import json
from collections import defaultdict
from configparser import ConfigParser

View File

@ -15,7 +15,6 @@
"""
Script for generating a form signature for use with FormPost middleware.
"""
from __future__ import print_function
import hmac
from hashlib import sha1
from os.path import basename

View File

@ -11,7 +11,6 @@
# under the License.
from __future__ import print_function
import codecs
import itertools
import json

View File

@ -155,7 +155,6 @@ All three steps may be performed with one sub-command::
Run container-sharder on all nodes to shard the container.
"""
from __future__ import print_function
import argparse
import json
import os.path

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import optparse
import os
import re

View File

@ -15,7 +15,6 @@
cmdline utility to perform cluster reconnaissance
"""
from __future__ import print_function
from eventlet.green import socket
from urllib.parse import urlparse

View File

@ -22,7 +22,6 @@ Safely reload WSGI servers while minimizing client downtime and errors by
* waiting for the reload to complete.
"""
from __future__ import print_function
import argparse
import errno
import os

View File

@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import logging
from collections import defaultdict

View File

@ -65,7 +65,6 @@ For further details use::
swift-ring-composer -h
"""
from __future__ import print_function
import argparse
import json
import os

View File

@ -14,7 +14,6 @@
# limitations under the License.
from __future__ import print_function
import functools
import errno
from optparse import OptionParser

View File

@ -173,7 +173,6 @@ To generate a curl command line from the above::
'
"""
from __future__ import print_function
import json
from time import time

View File

@ -15,7 +15,6 @@
"""Miscellaneous utility functions for use with Swift."""
from __future__ import print_function
import base64
import binascii

View File

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

View File

@ -15,7 +15,6 @@
"""WSGI tools for use with swift."""
from __future__ import print_function
import errno
import json

View File

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

View File

@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import sys
from contextlib import contextmanager

View File

@ -13,7 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import configparser
import contextlib

View File

@ -11,7 +11,6 @@
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import functools
import sys
from io import BytesIO

View File

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

View File

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
from unittest import main
from uuid import uuid4

View File

@ -15,7 +15,6 @@
""" Swift tests """
from __future__ import print_function
import os
import copy
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 print_function
import unittest
from contextlib import contextmanager

View File

@ -12,7 +12,6 @@
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import unittest
from test.unit import temptree

View File

@ -14,7 +14,6 @@
# limitations under the License.
"""Tests for swift.common.utils"""
from __future__ import print_function
import argparse
import hashlib

View File

@ -14,7 +14,6 @@
# limitations under the License.
"""Tests for swift.common.utils.logs"""
from __future__ import print_function
import contextlib
import errno

View File

@ -14,7 +14,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import print_function
import email.parser
import logging
import json