diff options
author | Madhur Garg <madhurgarg96@gmail.com> | 2019-03-17 15:21:16 +0530 |
---|---|---|
committer | Madhur Garg <madhurgarg96@gmail.com> | 2019-03-18 16:39:09 +0530 |
commit | 614ea5423b4ca0c14de525e6b4cc03568d1a3eae (patch) | |
tree | 46532886b244de9a5242e84b3d33cbb4558fef68 /poezio/config.py | |
parent | 0ed0bd3c6b332d10d35d440618016aec0980f7bc (diff) | |
download | poezio-614ea5423b4ca0c14de525e6b4cc03568d1a3eae.tar.gz poezio-614ea5423b4ca0c14de525e6b4cc03568d1a3eae.tar.bz2 poezio-614ea5423b4ca0c14de525e6b4cc03568d1a3eae.tar.xz poezio-614ea5423b4ca0c14de525e6b4cc03568d1a3eae.zip |
Fixes coding style; Corrected indentation and use of static length when displaying hidden value #3426
Diffstat (limited to 'poezio/config.py')
-rw-r--r-- | poezio/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |