From c04fa3af94eefadf95d0938ecfefcd9f41788a85 Mon Sep 17 00:00:00 2001
From: nishiki <nishiki@yaegashi.fr>
Date: Mon, 29 Dec 2014 22:32:36 +0100
Subject: [PATCH] fix indent

---
 lib/MPW.rb | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/MPW.rb b/lib/MPW.rb
index 61d9661..ea9ac2f 100644
--- a/lib/MPW.rb
+++ b/lib/MPW.rb
@@ -176,12 +176,12 @@ module MPW
 		def export(file, type=:yaml)
 			case type
 			when :csv
-					CSV.open(file, 'w', write_headers: true,
-										headers: ['name', 'group', 'protocol', 'host', 'login', 'password', 'port', 'comment']) do |csv|
-						@data.each do |id, r|
-							csv << [r['name'], r['group'], r['protocol'], r['host'], r['login'], r['password'], r['port'], r['comment']]
-						end
+				CSV.open(file, 'w', write_headers: true,
+									headers: ['name', 'group', 'protocol', 'host', 'login', 'password', 'port', 'comment']) do |csv|
+					@data.each do |id, r|
+						csv << [r['name'], r['group'], r['protocol'], r['host'], r['login'], r['password'], r['port'], r['comment']]
 					end
+				end
 
 			when :yaml
 				File.open(file, 'w') {|f| f << @data.to_yaml}