Remove __future__ imports

These aren't needed in modern Python 3 versions.

Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Change-Id: I5e81d6fb2e2cb8e4bfae4ed746da002f44e871c4
This commit is contained in:
Stephen Finucane
2022-02-17 11:38:11 +00:00
parent c09621eb42
commit 3d10744c55
5 changed files with 2 additions and 8 deletions

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 print_function
import six import six
import sys import sys

View File

@@ -12,9 +12,8 @@
# 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 unicode_literals
import logging
import logging
import os import os
from collections import defaultdict from collections import defaultdict

View File

@@ -14,8 +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, unicode_literals
import argparse import argparse
import getpass import getpass
import io import io

View File

@@ -13,7 +13,7 @@
# 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 unicode_literals
import contextlib import contextlib
import mock import mock
import os import os

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 unicode_literals
import contextlib import contextlib
from genericpath import getmtime from genericpath import getmtime