Add absolute_import future imports

Add absolute_import from __future__ so that pylint
does not fail and to achieve python3 behavior in
python2.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Stanislav Laznicka committed 2018-04-20 09:43:37 +02:00
1 parent 2de1aa27f9
commit b5bdd07bc5
121 files changed
+210 -30

No files matched your search

+2
View File
@@ -23,6 +23,8 @@ This base module contains default implementations of IPA interface for
interacting with system services.
'''
from __future__ import absolute_import
import os
import json
import time
+2
View File
@@ -22,6 +22,8 @@
This module contains default platform-specific implementations of system tasks.
'''
from __future__ import absolute_import
import logging
from pkg_resources import parse_version