summaryrefslogtreecommitdiff
path: root/alot/settings
diff options
context:
space:
mode:
authorJulian Mehne <julian.mehne@posteo.de>2018-01-24 12:18:43 +0100
committerJulian Mehne <julian.mehne@posteo.de>2018-01-24 12:18:43 +0100
commita60e8c91352585d9d5d74228f9b1a95bf24fd1ca (patch)
tree74a57917885c45604f90f827da827b848162138b /alot/settings
parent2bdf95c74e11586b9d42450746bb3947494e9fb8 (diff)
Remove blank lines and fix docstrings.
Diffstat (limited to 'alot/settings')
-rw-r--r--alot/settings/manager.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py
index 49f7d511..24d5c989 100644
--- a/alot/settings/manager.py
+++ b/alot/settings/manager.py
@@ -138,7 +138,6 @@ class SettingsManager(object):
self._accounts = self._parse_accounts(self._config)
self._accountmap = self._account_table(self._accounts)
-
@staticmethod
def _expand_config_values(section, key):
"""
@@ -149,16 +148,12 @@ class SettingsManager(object):
:param section: as passed by ConfigObj.walk
:param key: as passed by ConfigObj.walk
- :param expansion_fct: function to expand a configuration string
- :type expansion_fct: function
"""
def expand_environment_and_home(value):
"""
Expands environment variables and the home directory (~).
- Only acts on string input values.
-
$FOO and ${FOO}-style environment variables are expanded, if they
exist. If they do not exist, they are left unchanged.
The exception are the following $XDG_* variables that are