keeping client open
This commit is contained in:
@@ -278,8 +278,8 @@ if __name__ == "__main__":
|
||||
print(pykmip_client_config_file)
|
||||
client = client.ProxyKmipClient(config_file=pykmip_client_config_file)
|
||||
client.open()
|
||||
print(encrypt(client, "test"))
|
||||
client.close()
|
||||
#print(encrypt(client, "test"))
|
||||
|
||||
|
||||
if opts.config:
|
||||
if not does_file_exist(secrets_ini_file):
|
||||
@@ -346,8 +346,8 @@ if __name__ == "__main__":
|
||||
|
||||
else:
|
||||
print("This value must be one of the following characters: e, n, d, q.")
|
||||
|
||||
sys.exit(0)
|
||||
client.close()
|
||||
sys.exit(0)
|
||||
|
||||
print("Which account would you like to edit:")
|
||||
for i in range(0, len(accounts)):
|
||||
|
||||
Reference in New Issue
Block a user