summaryrefslogtreecommitdiff
path: root/alot/settings
diff options
context:
space:
mode:
authorJulian Mehne <julian.mehne@posteo.de>2018-01-23 13:18:06 +0100
committerJulian Mehne <julian.mehne@posteo.de>2018-01-23 13:18:06 +0100
commitd2888c080f00d5d53ff0f30626bc3059cdc95ef8 (patch)
treec4eed139257b3ecb57ef979d5fd89d6bc3e4fb0b /alot/settings
parente8586c18e73920ec9c5ad3344a0fbaa53bca3954 (diff)
Rename get_env to get_xdg_env and clarify docstring.
Diffstat (limited to 'alot/settings')
-rw-r--r--alot/settings/manager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py
index 150bd7d1..591edba8 100644
--- a/alot/settings/manager.py
+++ b/alot/settings/manager.py
@@ -15,7 +15,7 @@ from configobj import ConfigObj, Section
from ..account import SendmailAccount
from ..addressbook.abook import AbookAddressBook
from ..addressbook.external import ExternalAddressbook
-from ..helper import pretty_datetime, string_decode, get_env
+from ..helper import pretty_datetime, string_decode, get_xdg_env
from ..utils import configobj as checks
from .errors import ConfigError, NoMatchingAccount
@@ -25,8 +25,8 @@ from .theme import Theme
DEFAULTSPATH = os.path.join(os.path.dirname(__file__), '..', 'defaults')
-DATA_DIRS = get_env('XDG_DATA_DIRS',
- '/usr/local/share:/usr/share').split(':')
+DATA_DIRS = get_xdg_env('XDG_DATA_DIRS',
+ '/usr/local/share:/usr/share').split(':')
class SettingsManager(object):