From: Philippe Proulx Date: Fri, 29 Sep 2023 05:00:22 +0000 (-0400) Subject: Fix: _dict_from_arg(): actually fill the dictionary X-Git-Tag: v0.2.1 X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=2e1c1acd2530ee6a6989e8addc28691c92c766f8;p=normand.git Fix: _dict_from_arg(): actually fill the dictionary Change-Id: Ib86c8df44986eeec5b45908bce2d15c44d053d99 Signed-off-by: Philippe Proulx --- diff --git a/normand/normand.py b/normand/normand.py index 7941d9d..67cf3b2 100644 --- a/normand/normand.py +++ b/normand/normand.py @@ -30,7 +30,7 @@ # Upstream repository: . __author__ = "Philippe Proulx" -__version__ = "0.2.0" +__version__ = "0.2.1" __all__ = [ "ByteOrder", "parse", @@ -1415,6 +1415,8 @@ def _dict_from_arg(args: Optional[List[str]]): if m is None: _raise_cli_error("Invalid assignment {}".format(arg)) + d[m.group(1)] = int(m.group(2)) + return d diff --git a/pyproject.toml b/pyproject.toml index c3b8486..3bdf576 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,7 @@ [tool.poetry] name = 'normand' -version = '0.2.0' +version = '0.2.1' description = 'Text-to-binary processor with its own language' license = 'MIT' authors = ['Philippe Proulx ']