aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '_plugins/devaway.rb')
-rw-r--r--_plugins/devaway.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/_plugins/devaway.rb b/_plugins/devaway.rb
index 5d411a0..9ba5018 100644
--- a/_plugins/devaway.rb
+++ b/_plugins/devaway.rb
@@ -5,11 +5,11 @@ module Gentoo
def generate(site)
data = Nokogiri::XML(File.open(DEVAWAY_XML))
- site.data['devaway'] ||= { }
+ site.data['devaway'] ||= {}
data.xpath('/devaway/dev').each do |dev|
site.data['devaway'][dev['nick']] = dev.xpath('./reason/text()').first.content
end
end
end
-end \ No newline at end of file
+end