diff options
author | Lucas Hoffmann <l-m-h@web.de> | 2017-01-14 11:46:11 +0100 |
---|---|---|
committer | Lucas Hoffmann <l-m-h@web.de> | 2017-01-18 11:39:06 +0100 |
commit | 1808e4963e7da1b18319fdca44866dc2a71c62a0 (patch) | |
tree | 747217b535ee66fb90f5d4931fb0e8f64914d120 /alot/addressbook | |
parent | 70cae61d4fa80e2090169f8cb83e69081a04f890 (diff) |
Use absolute_imports from __future__
Diffstat (limited to 'alot/addressbook')
-rw-r--r-- | alot/addressbook/__init__.py | 2 | ||||
-rw-r--r-- | alot/addressbook/abook.py | 1 | ||||
-rw-r--r-- | alot/addressbook/external.py | 2 |
3 files changed, 5 insertions, 0 deletions
diff --git a/alot/addressbook/__init__.py b/alot/addressbook/__init__.py index da0863f4..cda2d8bd 100644 --- a/alot/addressbook/__init__.py +++ b/alot/addressbook/__init__.py @@ -1,6 +1,8 @@ # Copyright (C) 2011-2015 Patrick Totzke <patricktotzke@gmail.com> # This file is released under the GNU GPL, version 3 or a later revision. # For further details see the COPYING file +from __future__ import absolute_import + import re import abc diff --git a/alot/addressbook/abook.py b/alot/addressbook/abook.py index 207d8153..b620fbac 100644 --- a/alot/addressbook/abook.py +++ b/alot/addressbook/abook.py @@ -1,6 +1,7 @@ # Copyright (C) 2011-2015 Patrick Totzke <patricktotzke@gmail.com> # This file is released under the GNU GPL, version 3 or a later revision. # For further details see the COPYING file +from __future__ import absolute_import import os from . import AddressBook diff --git a/alot/addressbook/external.py b/alot/addressbook/external.py index 5c88b291..6a89dd15 100644 --- a/alot/addressbook/external.py +++ b/alot/addressbook/external.py @@ -1,6 +1,8 @@ # Copyright (C) 2011-2015 Patrick Totzke <patricktotzke@gmail.com> # This file is released under the GNU GPL, version 3 or a later revision. # For further details see the COPYING file +from __future__ import absolute_import + import re from ..helper import call_cmd |