fixed syntax errors

This commit is contained in:
Timothy N. Tsvetkov 2011-04-07 18:37:28 +04:00
parent 0370ee4f9c
commit 866041a3e2
1 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ class Project < ActiveRecord::Base
if result == BuildServer::SUCCESS
return true
else
raise "Failed to add project #{name} to repo #{repo.name)} of platform #{platf.name}."
raise "Failed to add project #{name} to repo #{repo.name} of platform #{platf.name}."
end
end
@ -63,7 +63,7 @@ class Project < ActiveRecord::Base
if result == BuildServer::SUCCESS
return true
else
raise "Failed to create project #{name} (repo #{repository.name)}) inside platform #{platform.name}."
raise "Failed to create project #{name} (repo #{repository.name}) inside platform #{platform.name}."
end
end
@ -72,7 +72,7 @@ class Project < ActiveRecord::Base
if result == BuildServer::SUCCESS
return true
else
raise "Failed to delete repository #{name} (repo #{repository.name)}) inside platform #{platform.name}."
raise "Failed to delete repository #{name} (repo #{repository.name}) inside platform #{platform.name}."
end
end
end