python3: Remove future statements

Now that Nmstate is no longer supporting python2, the future statements
are removed.

Signed-off-by: Edward Haas <edwardh@redhat.com>
This commit is contained in:
Edward Haas 2019-11-24 21:02:13 +02:00 committed by Gris Ge
parent 35c3d31642
commit d4065e3a0c
10 changed files with 0 additions and 21 deletions

View File

@ -16,8 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
from . import error
from . import schema

View File

@ -16,7 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
from operator import itemgetter
from libnmstate import nm

View File

@ -16,8 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
from collections import deque
from contextlib import contextmanager
import logging

View File

@ -16,8 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
import pkgutil
import yaml

View File

@ -16,8 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
import argparse
import errno
import fnmatch

View File

@ -16,9 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
from __future__ import division
try:
from unittest import mock
except ImportError: # py2

View File

@ -16,8 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
import json
import subprocess

View File

@ -16,8 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
import copy
import time

View File

@ -16,9 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
from __future__ import division
try:
from unittest import mock
except ImportError: # py2

View File

@ -16,8 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
from __future__ import absolute_import
import copy
import pytest