diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2022-02-17 11:38:11 +0000 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2022-03-21 18:29:25 +0000 |
commit | 3d10744c55d8cfddcd486a3e8521333b9cf606e1 (patch) | |
tree | 8d81f522bae7e2dcb7e92acaa02c7a4fef8b6e4a | |
parent | c09621eb4269e9eaa2c5f386976f356fb0701236 (diff) | |
download | python-swiftclient-3d10744c55d8cfddcd486a3e8521333b9cf606e1.tar.gz |
Remove __future__ imports
These aren't needed in modern Python 3 versions.
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I5e81d6fb2e2cb8e4bfae4ed746da002f44e871c4
-rw-r--r-- | swiftclient/multithreading.py | 2 | ||||
-rw-r--r-- | swiftclient/service.py | 3 | ||||
-rwxr-xr-x | swiftclient/shell.py | 2 | ||||
-rw-r--r-- | test/unit/test_service.py | 2 | ||||
-rw-r--r-- | test/unit/test_shell.py | 1 |
5 files changed, 2 insertions, 8 deletions
diff --git a/swiftclient/multithreading.py b/swiftclient/multithreading.py index f128790..665ba63 100644 --- a/swiftclient/multithreading.py +++ b/swiftclient/multithreading.py @@ -13,8 +13,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function - import six import sys diff --git a/swiftclient/service.py b/swiftclient/service.py index 8e2c7b0..6b8f73d 100644 --- a/swiftclient/service.py +++ b/swiftclient/service.py @@ -12,9 +12,8 @@ # implied. # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import unicode_literals -import logging +import logging import os from collections import defaultdict diff --git a/swiftclient/shell.py b/swiftclient/shell.py index 6da9d66..36d0757 100755 --- a/swiftclient/shell.py +++ b/swiftclient/shell.py @@ -14,8 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import print_function, unicode_literals - import argparse import getpass import io diff --git a/test/unit/test_service.py b/test/unit/test_service.py index e86a4ff..7f90eb4 100644 --- a/test/unit/test_service.py +++ b/test/unit/test_service.py @@ -13,7 +13,7 @@ # implied. # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import unicode_literals + import contextlib import mock import os diff --git a/test/unit/test_shell.py b/test/unit/test_shell.py index 295c918..8d3b163 100644 --- a/test/unit/test_shell.py +++ b/test/unit/test_shell.py @@ -12,7 +12,6 @@ # implied. # See the License for the specific language governing permissions and # limitations under the License. -from __future__ import unicode_literals import contextlib from genericpath import getmtime |