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 # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from __future__ import print_function
import os import os
import sys import sys
import getopt import getopt

View File

@ -12,7 +12,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 print_function
import optparse import optparse
import os import os
import sys import sys

View File

@ -13,7 +13,6 @@
# implied. # implied.
# 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 print_function
import io import io
import traceback import traceback

View File

@ -14,7 +14,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 print_function
import json import json
from collections import defaultdict from collections import defaultdict
from configparser import ConfigParser from configparser import ConfigParser

View File

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

View File

@ -11,7 +11,6 @@
# under the License. # under the License.
from __future__ import print_function
import codecs import codecs
import itertools import itertools
import json 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. Run container-sharder on all nodes to shard the container.
""" """
from __future__ import print_function
import argparse import argparse
import json import json
import os.path import os.path

View File

@ -12,7 +12,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 print_function
import optparse import optparse
import os import os
import re import re

View File

@ -15,7 +15,6 @@
cmdline utility to perform cluster reconnaissance cmdline utility to perform cluster reconnaissance
""" """
from __future__ import print_function
from eventlet.green import socket from eventlet.green import socket
from urllib.parse import urlparse 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. * waiting for the reload to complete.
""" """
from __future__ import print_function
import argparse import argparse
import errno import errno
import os import os

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 print_function
import logging import logging
from collections import defaultdict from collections import defaultdict

View File

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

View File

@ -14,7 +14,6 @@
# limitations under the License. # limitations under the License.
from __future__ import print_function
import functools import functools
import errno import errno
from optparse import OptionParser 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 import json
from time import time from time import time

View File

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

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 print_function
import errno import errno
import hashlib import hashlib

View File

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

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 print_function
import logging import logging
import os import os
import signal import signal

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 print_function
import sys import sys
from contextlib import contextmanager from contextlib import contextmanager

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 print_function
import configparser import configparser
import contextlib import contextlib

View File

@ -11,7 +11,6 @@
# implied. # implied.
# 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 print_function
import functools import functools
import sys import sys
from io import BytesIO from io import BytesIO

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 print_function
import errno import errno
import gc import gc

View File

@ -14,7 +14,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 print_function
from unittest import main from unittest import main
from uuid import uuid4 from uuid import uuid4

View File

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

View File

@ -12,7 +12,6 @@
# implied. # implied.
# 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 print_function
import unittest import unittest
from test.unit import temptree from test.unit import temptree

View File

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

View File

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

View File

@ -14,7 +14,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 print_function
import email.parser import email.parser
import logging import logging
import json import json