Salome HOME
initialize status to 0 - it was leading to false return status when no patch is applied
authorcrouzet <nicolas.crouzet@cea.fr>
Fri, 15 Mar 2019 14:12:58 +0000 (15:12 +0100)
committercrouzet <nicolas.crouzet@cea.fr>
Fri, 15 Mar 2019 14:12:58 +0000 (15:12 +0100)
commands/prepare.py

index 2fb83887c7dc9139daab7354df68255dd91577ea..088edc34bda360927e2c5bda4ea97d33c20f061c 100644 (file)
@@ -154,10 +154,10 @@ Use the --force_patch option to overwrite it.
     args_source = args_appli + args_product_opt  
     args_patch = args_appli + args_product_opt_patch
       
-    # Initialize the results to a failing status
-    res_clean = 1
-    res_source = 1
-    res_patch = 1
+    # Initialize the results to a running status
+    res_clean = 0
+    res_source = 0
+    res_patch = 0
     
     # Call the commands using the API
     if do_clean: