Salome HOME
the legend is now collapsible
[tools/sat.git] / commands / configure.py
index 17341d8bbb06eeea0aa100b753f643f213e08325..a65a5e7a254125e41bfd7b7738af209491d2c9f7 100644 (file)
@@ -177,7 +177,7 @@ def description():
              "cmake: cmake\nscript: N\A")
   
 def run(args, runner, logger):
-    '''method that is called when salomeTools is called with prepare parameter.
+    '''method that is called when salomeTools is called with make parameter.
     '''
     
     # Parse the options
@@ -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