MCPcopy Create free account
hub / github.com/apache/solr / ensure_list

Function ensure_list

dev-tools/scripts/releaseWizard.py:1013–1019  ·  view source on GitHub ↗
(o)

Source from the content-addressed store, hash-verified

1011
1012
1013def ensure_list(o):
1014 if o is None:
1015 return []
1016 if not isinstance(o, list):
1017 return [o]
1018 else:
1019 return o
1020
1021
1022def open_file(filename):

Callers 5

get_subtitleMethod · 0.85
__init__Method · 0.85
display_and_confirmMethod · 0.85
generate_asciidocFunction · 0.85
runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…