From 4fd6108fd284085c1dde743328853652c5cc75b1 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Thu, 7 Feb 2013 16:59:33 +0400 Subject: [PATCH] #756: hot fix --- lib/abf_worker/publish_observer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/abf_worker/publish_observer.rb b/lib/abf_worker/publish_observer.rb index 3b9f4f5bc..a4bafb737 100644 --- a/lib/abf_worker/publish_observer.rb +++ b/lib/abf_worker/publish_observer.rb @@ -46,7 +46,7 @@ module AbfWorker AbfWorker::BuildListsPublishTaskManager.unlock_rep_and_platform build_list end - def update_results(build_list) + def update_results(build_list = subject) results = (build_list.results || []). select{ |r| r['file_name'] !~ /^abfworker\:\:publish\-worker.*\.log$/ } results |= options['results']