From: garciadeblas Date: Thu, 3 May 2018 16:53:41 +0000 (+0200) Subject: osm.py: obfuscating vim password X-Git-Tag: v4.0.0~18 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=96cb4393f12a5116a4eb7bd2f5daad051ab75e9e;p=osm%2Fosmclient.git osm.py: obfuscating vim password Change-Id: I931aae31c5670990428a3c61c4787a94723d5883 Signed-off-by: garciadeblas --- diff --git a/osmclient/scripts/osm.py b/osmclient/scripts/osm.py index 2a321fc..b98bc9e 100755 --- a/osmclient/scripts/osm.py +++ b/osmclient/scripts/osm.py @@ -866,6 +866,8 @@ def vim_show(ctx, name): ''' try: resp = ctx.obj.vim.get(name) + if 'vim_password' in resp: + resp['vim_password']='********' except ClientException as inst: print(inst.message) exit(1)