[#247] small refactoring

This commit is contained in:
Alexander Machehin 2014-12-03 17:28:00 +05:00
parent a657416321
commit ae40af6a0d
1 changed files with 1 additions and 2 deletions

View File

@ -21,6 +21,7 @@ module AbfWorker
end
item = find_or_create_item
fill_container_data if status != STARTED
unless subject.valid?
item.update_attributes({status: BuildList::BUILD_ERROR})
@ -29,8 +30,6 @@ module AbfWorker
return
end
fill_container_data if status != STARTED
rerunning_tests = subject.rerunning_tests?
case status