summaryrefslogtreecommitdiff
path: root/alot/settings/manager.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/settings/manager.py')
-rw-r--r--alot/settings/manager.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/alot/settings/manager.py b/alot/settings/manager.py
index cf494a94..392f3535 100644
--- a/alot/settings/manager.py
+++ b/alot/settings/manager.py
@@ -107,7 +107,8 @@ class SettingsManager(object):
self._accounts = self._parse_accounts(self._config)
self._accountmap = self._account_table(self._accounts)
- def _parse_accounts(self, config):
+ @staticmethod
+ def _parse_accounts(config):
"""
read accounts information from config
@@ -148,7 +149,8 @@ class SettingsManager(object):
accounts.append(newacc)
return accounts
- def _account_table(self, accounts):
+ @staticmethod
+ def _account_table(accounts):
"""
creates a lookup table (emailaddress -> account) for a given list of
accounts