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/settings | |
parent | 70cae61d4fa80e2090169f8cb83e69081a04f890 (diff) |
Use absolute_imports from __future__
Diffstat (limited to 'alot/settings')
-rw-r--r-- | alot/settings/__init__.py | 2 | ||||
-rw-r--r-- | alot/settings/checks.py | 2 | ||||
-rw-r--r-- | alot/settings/manager.py | 2 | ||||
-rw-r--r-- | alot/settings/theme.py | 2 | ||||
-rw-r--r-- | alot/settings/utils.py | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/alot/settings/__init__.py b/alot/settings/__init__.py index b1449c29..11137d1d 100644 --- a/alot/settings/__init__.py +++ b/alot/settings/__init__.py @@ -1,6 +1,8 @@ # Copyright (C) 2011-2012 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 + from .manager import SettingsManager settings = SettingsManager() diff --git a/alot/settings/checks.py b/alot/settings/checks.py index 6f909524..125d1860 100644 --- a/alot/settings/checks.py +++ b/alot/settings/checks.py @@ -1,6 +1,8 @@ # Copyright (C) 2011-2012 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 mailbox import re from urwid import AttrSpec, AttrSpecError diff --git a/alot/settings/manager.py b/alot/settings/manager.py index 40a36c66..5e9727f8 100644 --- a/alot/settings/manager.py +++ b/alot/settings/manager.py @@ -1,6 +1,8 @@ # Copyright (C) 2011-2012 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 imp import os import re diff --git a/alot/settings/theme.py b/alot/settings/theme.py index 7c4dac15..c05a4db0 100644 --- a/alot/settings/theme.py +++ b/alot/settings/theme.py @@ -1,6 +1,8 @@ # Copyright (C) 2011-2012 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 .utils import read_config diff --git a/alot/settings/utils.py b/alot/settings/utils.py index 3b9f1ecc..3cdb51ad 100644 --- a/alot/settings/utils.py +++ b/alot/settings/utils.py @@ -1,6 +1,8 @@ # Copyright (C) 2011-2012 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 + from configobj import ConfigObj, ConfigObjError, flatten_errors from validate import Validator from urwid import AttrSpec |