From: garciadeblas Date: Thu, 3 May 2018 16:53:41 +0000 (+0200) Subject: osm.py: obfuscating vim password X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F68%2F6068%2F1;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)