revert int as hex format commit

This commit is contained in:
Abyss Watcher
2024-03-04 20:16:55 +01:00
parent 3040bc5fc2
commit 69a6c7d5b7
+1 -5
View File
@@ -827,11 +827,7 @@ class CommandLine:
requirement,
volatility3.framework.configuration.requirements.ListRequirement,
):
# Allow a list of integers, specified with convenient 0x hexadecimal format
if requirement.element_type == int:
additional["type"] = lambda x: int(x, 0)
else:
additional["type"] = requirement.element_type
additional["type"] = requirement.element_type
nargs = "*" if requirement.optional else "+"
additional["nargs"] = nargs
elif isinstance(