summaryrefslogtreecommitdiff
path: root/alot/settings/checks.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/settings/checks.py')
-rw-r--r--alot/settings/checks.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/alot/settings/checks.py b/alot/settings/checks.py
index bef91a77..6f909524 100644
--- a/alot/settings/checks.py
+++ b/alot/settings/checks.py
@@ -121,11 +121,6 @@ def force_list(value, min=None, max=None):
The difference to :func:`validate.force_list` is that this test
will return an empty list instead of `['']` if the config value
matches `r'\s*,?\s*'`.
-
- >>> vtor.check('force_list', 'hello')
- ['hello']
- >>> vtor.check('force_list', '')
- []
"""
if not isinstance(value, (list, tuple)):
value = [value]