From e22ebecf36ef3c8f52311ffac2960f780c8126b9 Mon Sep 17 00:00:00 2001 From: nishiki Date: Mon, 11 May 2015 20:26:58 +0200 Subject: [PATCH] remove puts --- lib/Config.rb | 1 - lib/Sync/SSH.rb | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/Config.rb b/lib/Config.rb index 698efe1..d2b02a9 100644 --- a/lib/Config.rb +++ b/lib/Config.rb @@ -159,7 +159,6 @@ module MPW return true rescue Exception => e - puts e @error_msg = "#{I18n.t('error.config.check')}\n#{e}" return false end diff --git a/lib/Sync/SSH.rb b/lib/Sync/SSH.rb index ddb00b5..632e292 100644 --- a/lib/Sync/SSH.rb +++ b/lib/Sync/SSH.rb @@ -48,8 +48,6 @@ module MPW def get(file_tmp) return false if not @enable - puts @path - puts file_tmp Net::SFTP.start(@host, @user, password: @password, port: @port) do |sftp| sftp.lstat(@path) do |response| sftp.download!(@path, file_tmp) if response.ok?