diff options
author | Коренберг Марк (ноутбук дома) <socketpair@gmail.com> | 2012-06-04 22:54:16 +0600 |
---|---|---|
committer | Коренберг Марк (ноутбук дома) <socketpair@gmail.com> | 2012-06-08 22:26:35 +0600 |
commit | 4be1ae2ae22e100e6bbc4bd127af49296efbd763 (patch) | |
tree | 1f5238a7dc064f0bdd77afa2dfb10b4ff8885780 /python/netlink/util.py | |
parent | f55ea7ff9d318be938be3f3ae4f331ba5c7dc150 (diff) | |
download | libnl-4be1ae2ae22e100e6bbc4bd127af49296efbd763.tar.gz |
Introduce Python's absolute_imports
Helps greatly when porting to Python 3
Diffstat (limited to 'python/netlink/util.py')
-rw-r--r-- | python/netlink/util.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/netlink/util.py b/python/netlink/util.py index 191c531..0a73db4 100644 --- a/python/netlink/util.py +++ b/python/netlink/util.py @@ -8,8 +8,10 @@ """ -import netlink.core as netlink -import netlink.capi as capi +from __future__ import absolute_import + +from . import core as netlink +from . import capi as capi from string import Formatter __version__ = "1.0" |