Skip to content

Commit

Permalink
indent correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dmacvicar committed Oct 19, 2017
1 parent 5fde8b3 commit 4f52718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/appdata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def self.get(dist = 'factory')
def self.add_appdata(data, xml)
data[:apps] = Array.new unless data[:apps]
data[:categories] = Array.new unless data[:categories]
xml.xpath("/components/component").each do |app|
xml.xpath("/components/component").each do |app|
appdata = Hash.new
# Filter translated versions of name and summary out
appdata[:name] = app.xpath('name[not(@xml:lang)]').text
Expand Down

0 comments on commit 4f52718

Please sign in to comment.