From 614ea5423b4ca0c14de525e6b4cc03568d1a3eae Mon Sep 17 00:00:00 2001 From: Madhur Garg Date: Sun, 17 Mar 2019 15:21:16 +0530 Subject: Fixes coding style; Corrected indentation and use of static length when displaying hidden value #3426 --- poezio/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'poezio/config.py') diff --git a/poezio/config.py b/poezio/config.py index 19069ddb..89b75d94 100644 --- a/poezio/config.py +++ b/poezio/config.py @@ -448,7 +448,7 @@ class Config(RawConfigParser): if not self.write_in_file(section, option, value): return ('Unable to write in the config file', 'Error') if 'password' in option and 'eval_password' not in option: - value = '*'*len(value) + value = '********' return ("%s=%s" % (option, value), 'Info') def remove_and_save(self, option: str, -- cgit v1.2.3