From 69a6c7d5b7cbfb99e8ec70d05dac95a6dea71713 Mon Sep 17 00:00:00 2001 From: Abyss Watcher Date: Mon, 4 Mar 2024 20:16:55 +0100 Subject: [PATCH] revert int as hex format commit --- volatility3/cli/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/volatility3/cli/__init__.py b/volatility3/cli/__init__.py index a67762a31..3de7d8f8f 100644 --- a/volatility3/cli/__init__.py +++ b/volatility3/cli/__init__.py @@ -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(