Set format for activeresource client in reposman.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7955 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-11-27 17:21:00 +00:00
parent d3a2564964
commit 5946a941e0
1 changed files with 1 additions and 0 deletions

View File

@ -182,6 +182,7 @@ end
class Project < ActiveResource::Base
self.headers["User-agent"] = "Redmine repository manager/#{Version}"
self.format = :xml
end
log("querying Redmine for projects...", :level => 1);