Fix: _dict_from_arg(): actually fill the dictionary
[normand.git] / normand / normand.py
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
 
 
This page took 0.023746 seconds and 4 git commands to generate.