diff --git a/ipaserver/dcerpc.py b/ipaserver/dcerpc.py index 1a5a91208..4d86b7de6 100644 --- a/ipaserver/dcerpc.py +++ b/ipaserver/dcerpc.py @@ -22,7 +22,7 @@ # Make sure we only run this module at the server where samba4-python # package is installed to avoid issues with unavailable modules -from __future__ import absolute_import, unicode_literals +from __future__ import absolute_import import logging import re diff --git a/ipaserver/dns_data_management.py b/ipaserver/dns_data_management.py index 994326ada..9ef2e6c38 100644 --- a/ipaserver/dns_data_management.py +++ b/ipaserver/dns_data_management.py @@ -2,7 +2,7 @@ # Copyright (C) 2016 FreeIPA Contributors see COPYING for license # -from __future__ import absolute_import, unicode_literals +from __future__ import absolute_import import logging diff --git a/ipatests/test_xmlrpc/test_external_members.py b/ipatests/test_xmlrpc/test_external_members.py index e7263f5cb..aa76bc531 100644 --- a/ipatests/test_xmlrpc/test_external_members.py +++ b/ipatests/test_xmlrpc/test_external_members.py @@ -21,8 +21,6 @@ Test adding/removing external members (trusted domain objects) to IPA groups. These tests are skipped if trust is not established. """ -from __future__ import unicode_literals - import unittest from ipalib import api