From: Adrian Schröter
---
src/api/app/controllers/request_controller.rb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/api/app/controllers/request_controller.rb b/src/api/app/controllers/request_controller.rb
index d82bbb8..ff8ba4c 100644
--- a/src/api/app/controllers/request_controller.rb
+++ b/src/api/app/controllers/request_controller.rb
@@ -298,7 +298,7 @@ class RequestController < ApplicationController
tpkg = pkg.name
rev=nil
if action.source.has_attribute? 'rev'
- rev = action.source.rev.text
+ rev = action.source.rev.to_s
end
while tprj == pkg.db_project.name
data = REXML::Document.new( backend_get("/source/#{CGI.escape(tprj)}/#{CGI.escape(tpkg)}") )
--
1.7.7
--
To unsubscribe, e-mail: obs-commits+unsubscribe@opensuse.org
To contact the owner, e-mail: obs-commits+owner@opensuse.org