Fix: _dict_from_arg(): actually fill the dictionary v0.2.1
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 29 Sep 2023 05:00:22 +0000 (01:00 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 29 Sep 2023 05:05:03 +0000 (01:05 -0400)
Change-Id: Ib86c8df44986eeec5b45908bce2d15c44d053d99
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
normand/normand.py
pyproject.toml

index 7941d9df2e61c9124b5b2e2a15495c4b1f2400be..67cf3b27c297ce2e2b451e4919cc92ad6f690e5b 100644 (file)
@@ -30,7 +30,7 @@
 # Upstream repository: <https://github.com/efficios/normand>.
 
 __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
 
 
index c3b84866ca3f7665d495f25699a6187680ebf4df..3bdf576dbe9634128dff568e4c80a52e15a81728 100644 (file)
@@ -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 <eeppeliteloop@gmail.com>']
This page took 0.024525 seconds and 4 git commands to generate.