]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
put an integer value for default nb_proc option
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 5 Jan 2017 09:41:43 +0000 (10:41 +0100)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 5 Jan 2017 09:41:43 +0000 (10:41 +0100)
commands/script.py

index bb7fd8ddc59dd65ac309d55bf2123d85375973e0..3f65fed4ccf64cf28fe84bd06ac9674d5036164d 100644 (file)
@@ -30,7 +30,7 @@ parser.add_option('', 'nb_proc', 'int', 'nb_proc',
     _('Optional: The number of processors to use in the script if the make '
       'command is used in it.\n\tWarning: the script has to be correctly written '
       'if you want this option to work.\n\tThe $MAKE_OPTIONS has to be '
-      'used.'), "")
+      'used.'), 0)
 
 def get_products_list(options, cfg, logger):
     '''method that gives the product list with their informations from