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
commit0b1335f34f32cac893627252bee49dcc52a386f2 (patch)
tree5fe10202281f3943899c9d4950795972aff8d0e7 /lib
parent9046c74ba475d1d032ff429176c2b528d939bdec (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