From 96cb4393f12a5116a4eb7bd2f5daad051ab75e9e Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 3 May 2018 18:53:41 +0200 Subject: [PATCH] osm.py: obfuscating vim password Change-Id: I931aae31c5670990428a3c61c4787a94723d5883 Signed-off-by: garciadeblas --- osmclient/scripts/osm.py | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.25.1