Skip to content

Commit

Permalink
Merge pull request #918 from dirkmueller/master
Browse files Browse the repository at this point in the history
[api] Fix string interpolation in error message
  • Loading branch information
adrianschroeter committed Apr 30, 2015
2 parents 5992fc1 + b69bca7 commit 11de33a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/project.rb
Expand Up @@ -394,7 +394,7 @@ def can_be_deleted?
rescue Package::DeleteError => e
e.packages.each do |p|
if p.project != self
raise DeleteError.new "Package #{self.name}/{pkg.name} can not be deleted as it's devel package of #{p.project.name}/#{p.name}"
raise DeleteError.new "Package #{self.name}/#{pkg.name} can not be deleted as it's the devel package of #{p.project.name}/#{p.name}"
end
end
end
Expand Down

0 comments on commit 11de33a

Please sign in to comment.