Nooooooooooooooooo
This commit is contained in:
parent
1ad8d17e73
commit
8fdb420f85
@ -139,7 +139,7 @@ sub tag_project
|
||||
# Send data to intradata
|
||||
log INFO, "Attente d'un processus de publication...";
|
||||
log ERROR, "Erreur durant le processus de publication : $_"
|
||||
if (!Process::Client::launch("intradata_get", { action => "update", type => "project", id => $project_id, "year" => $year }, { "butler.xml" => $content }));
|
||||
if (Process::Client::launch("intradata_get", { action => "update", type => "project", id => $project_id, "year" => $year }, { "butler.xml" => $content }));
|
||||
|
||||
# Call API
|
||||
my $err = API::Projects::add($project_id, $year);
|
||||
|
@ -62,7 +62,7 @@ sub update_project
|
||||
|
||||
log INFO, "Update $year/$project_id/butler.xml";
|
||||
|
||||
return $_ if (! create_tree($year, $project_id));
|
||||
return $_ if (create_tree($year, $project_id));
|
||||
|
||||
open my $out, ">", "$basedir/$year/$project_id/butler.xml";
|
||||
print $out $butler;
|
||||
|
Reference in New Issue
Block a user