[refs #200] Remove debug code from build_lists controller

This commit is contained in:
konstantin.grabar 2012-03-20 17:01:18 +04:00
parent 31e0c9191c
commit 981ea7d69f
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class BuildListsController < ApplicationController
@build_list.bpl = bpl; @build_list.arch = arch; @build_list.user = current_user
@build_list.include_repos = @build_list.include_repos.select { |ir| @build_list.bpl.repository_ids.include? ir.to_i }
flash_options = {:project_version => @build_list.project_version, :arch => arch.name, :bpl => bpl.name, :pl => @build_list.pl}
if @build_list.save!
if @build_list.save
notices << t("flash.build_list.saved", flash_options)
else
errors << t("flash.build_list.save_error", flash_options)