Update lib/galaxy/util/xml_macros.py

Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
This commit is contained in:
M Bernt
2022-01-14 14:44:45 +01:00
committed by GitHub
co-authored by Marius van den Beek
parent 180ed75760
commit 5198c82fe9
+1 -1
View File
@@ -165,7 +165,7 @@ def _expand_macros(elements, macros, tokens, visited=None):
if expand_el is None:
break
if visited is None:
v = list()
v = []
else:
v = visited
_expand_macro(expand_el, macros, tokens, v)