Skip to content

Commit

Permalink
[api] fix and test maintenance requests diffing (and fixed test suite…
Browse files Browse the repository at this point in the history
… which messes up fixtures)
  • Loading branch information
adrianschroeter committed Nov 12, 2012
1 parent 2f949c6 commit c7f9bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/app/models/bs_request_action.rb
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def sourcediff(opts = {})
provided_in_other_action=false
if !self.target_package or [ :maintenance_release, :maintenance_incident ].include? self.action_type
data = Xmlhash.parse( ActiveXML.transport.direct_http(URI("/source/#{URI.escape(self.source_project)}/#{URI.escape(spkg)}") ) )
e = data.get('directory')['linkinfo']
e = data['linkinfo']
if e
target_project = e["project"]
target_package = e["package"]
Expand Down

0 comments on commit c7f9bd5

Please sign in to comment.