From 3905dba0deb821ef896492a45eda262cc7f45dd7 Mon Sep 17 00:00:00 2001 From: VG Date: Mon, 13 Jun 2016 00:47:05 +0200 Subject: hide password in stdout --- climl/imap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/climl/imap.py b/climl/imap.py index e2ae36e..7ab9a46 100644 --- a/climl/imap.py +++ b/climl/imap.py @@ -140,7 +140,7 @@ def main(callback=None, conf=None): if password_command: password = subprocess.check_output(password_command, shell=True) password = password.rstrip().decode('utf8') - print('got pasword:', password) + print('got pasword: hidden') maxsize = conf.get('mail.maxsize', 100*1024) # 100k default maxsize = int(maxsize) while True: -- cgit v1.2.3