#960: add comments

This commit is contained in:
Vokhmin Alexey V 2013-03-01 00:04:23 +04:00
parent 508ef2dbe8
commit 01195c165c
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ module AbfWorker
end
bl = build_lists.first || subject
# unlock repository when main build list does not exist
if !bl && options['projects_for_cleanup'].present?
pr, rep, pl = options['projects_for_cleanup'][0].split('-')
bl = BuildList.where(:build_for_platform_id => pl, :save_to_repository_id => rep).first