The default value for ndparams should be None not {}
authorRené Nussbaumer <rn@google.com>
Thu, 25 Nov 2010 15:11:44 +0000 (16:11 +0100)
committerRené Nussbaumer <rn@google.com>
Fri, 26 Nov 2010 09:05:36 +0000 (10:05 +0100)
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>

lib/cli.py

index 81c5901..6739b6c 100644 (file)
@@ -1102,7 +1102,7 @@ PREALLOC_WIPE_DISKS_OPT = cli_option("--prealloc-wipe-disks", default=None,
                                            " creation"))
 
 NODE_PARAMS_OPT = cli_option("--node-parameters", dest="ndparams",
-                             type="keyval", default={},
+                             type="keyval", default=None,
                              help="Node parameters")