Salome HOME
the legend is now collapsible
[tools/sat.git] / commands / configure.py
index 9349fed1101357a2cdd9ba3f0ea912195a239153..a65a5e7a254125e41bfd7b7738af209491d2c9f7 100644 (file)
@@ -186,7 +186,7 @@ def run(args, runner, logger):
     # check that the command has been called with an application
     src.check_config_has_application( runner.cfg )
 
-    # Get the list of products to threat
+    # Get the list of products to treat
     products_infos = get_products_list(options, runner.cfg, logger)
     
     # Print some informations
@@ -199,6 +199,8 @@ def run(args, runner, logger):
     
     # Call the function that will loop over all the products and execute
     # the right command(s)
+    if options.option is None:
+        options.option = ""
     res = configure_all_products(runner.cfg, products_infos, options.option, logger)
     
     # Print the final state