1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-11-27 07:33:05 +00:00

remove puts

This commit is contained in:
nishiki 2015-05-11 20:26:58 +02:00
parent 1f4509597b
commit e22ebecf36
2 changed files with 0 additions and 3 deletions

View file

@ -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

View file

@ -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?