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

remove debug puts

This commit is contained in:
nishiki 2014-01-15 23:20:22 +01:00
parent e0c1f1bfc1
commit 1298caed2e
2 changed files with 0 additions and 2 deletions

View file

@ -47,7 +47,6 @@ class Cli
@mpw.sync(@sync.get(@passwd), @config.last_update)
@sync.update(File.open(@config.file_gpg).read)
@config.setLastUpdate()
puts @sync.error_msg
rescue Exception => e
puts "#{I18n.t('cli.sync.error')}:\n#{e}"
end

View file

@ -63,7 +63,6 @@ class Sync
@socket.puts send_msg.to_json
msg = JSON.parse(@socket.gets)
puts msg
case msg['error']
when nil, 'file_not_exist'
tmp_file = "/tmp/mpw-#{MPW.generatePassword()}.gpg"