From 819dcc66f25d8dc787769b0bbae91b8e8cc0392b Mon Sep 17 00:00:00 2001 From: Frederik Lindenaar <frederik@lindenaar.nl> Date: Thu, 24 Oct 2019 10:04:23 +0200 Subject: [PATCH] removed testing logic --- duo_api.py | 6 ------ 1 file changed, 0 insertions(+), 6 deletions(-) diff --git a/duo_api.py b/duo_api.py index b4913d0..37de37c 100755 --- a/duo_api.py +++ b/duo_api.py @@ -160,11 +160,6 @@ if __name__ == '__main__': print("Missing/unreadable config file",splitext(argv[0])[0]+'.conf') exit(1) - apiconf = config['API'] - print(apiconf.get('aaa', fallback='bbb')) - exit() - - response = duo_api_config(config, 'check') # Check connectivity/auth. print(response) @@ -184,4 +179,3 @@ if __name__ == '__main__': except HTTPError as e: print('Configuration Error', e, '(invalid parameters?)') - -- libgit2 0.22.2