We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4e082e commit 4dba5e9Copy full SHA for 4dba5e9
1 file changed
PWGHF/D2H/Macros/hf_analysis_utils.py
@@ -13,7 +13,7 @@ def make_list(object) -> list:
13
"""
14
Returns the object as a list if it is not a list already.
15
16
- return object if isinstance(object, list) else list(object)
+ return object if isinstance(object, list) else [object]
17
18
19
# pylint: disable=too-many-arguments
0 commit comments