diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-08-06 10:49:08 +0200 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2020-08-06 11:02:28 +0200 |
commit | 3aca49fde8433386aa9e42ed95a4edbd261f6953 (patch) | |
tree | d4029254033d8592506e3b895d17da82f93f55bf /lib | |
parent | ff2f0a7af1508f4cbd34912cf536b9caed0deae3 (diff) |
web_support: make_list requires a list argument
Diffstat (limited to 'lib')
-rw-r--r-- | lib/python/web_support.py | 2 |
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: |