summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu@debian.org>2020-08-06 10:49:08 +0200
committerEmilio Pozuelo Monfort <pochu@debian.org>2020-08-06 11:02:28 +0200
commit3aca49fde8433386aa9e42ed95a4edbd261f6953 (patch)
treed4029254033d8592506e3b895d17da82f93f55bf /lib
parentff2f0a7af1508f4cbd34912cf536b9caed0deae3 (diff)
web_support: make_list requires a list argument
Diffstat (limited to 'lib')
-rw-r--r--lib/python/web_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/web_support.py b/lib/python/web_support.py
index 1ad6a7f51f..5b06d7743a 100644
--- a/lib/python/web_support.py
+++ b/lib/python/web_support.py
@@ -524,7 +524,7 @@ def make_numbered_list(entries):
def make_list(lst, separator=", "):
"""Creates a list of HTML elements."""
- assert not isstring(lst)
+ assert isinstance(lst, list)
c = []
if lst:
for e in lst:

© 2014-2024 Faster IT GmbH | imprint | privacy policy