From 1366347b5dde30195fc29dc7160624e5ecb0e1ed Mon Sep 17 00:00:00 2001 From: Andres Riancho Date: Wed, 31 Jul 2019 12:15:19 -0300 Subject: [PATCH] Fix #3 https://www.python.org/dev/peps/pep-3113/ --- enumerate_iam/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/enumerate_iam/main.py b/enumerate_iam/main.py index dd8a369..0502ed9 100644 --- a/enumerate_iam/main.py +++ b/enumerate_iam/main.py @@ -132,7 +132,8 @@ def get_client(access_key, secret_key, session_token, service_name, region): return client -def check_one_permission((access_key, secret_key, session_token, region, service_name, operation_name)): +def check_one_permission(arg_tuple): + access_key, secret_key, session_token, region, service_name, operation_name = arg_tuple logger = logging.getLogger() service_client = get_client(access_key, secret_key, session_token, service_name, region)