From 062c913a9146897727f67b8d2f1509fbca465428 Mon Sep 17 00:00:00 2001 From: Eamonn Faherty Date: Fri, 25 Jun 2021 12:28:48 +0100 Subject: [PATCH] fixing --- betterboto/utils.py | 7 ++++++- setup.py | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/betterboto/utils.py b/betterboto/utils.py index cd75e2d..a6eb60d 100644 --- a/betterboto/utils.py +++ b/betterboto/utils.py @@ -7,9 +7,14 @@ def slurp( name, func, response_to_concat, next_token_name_in_response='NextPageToken', next_token_name_in_request='PageToken', - wait_between_pages=0, logging_prefix="", + wait_between_pages=0, **kwargs ): + logging_prefix = '' + if kwargs.get('logging_prefix'): + logging_prefix = kwargs.get('logging_prefix') + del kwargs['logging_prefix'] + logger.info("{}{}: {}".format(logging_prefix, name, kwargs)) all_responses = [] while True: diff --git a/setup.py b/setup.py index aee78ac..237ba39 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setuptools.setup( name="better-boto", - version="0.41.0", + version="0.41.1", author="Eamonn Faherty", author_email="python-packages@designandsolve.co.uk", description="Helpers to make using boto3 more enjoyable",