From ba33404d3e23cd733f996150056460c6f4d34a98 Mon Sep 17 00:00:00 2001 From: Kris Raney Date: Wed, 2 Mar 2016 10:24:44 -0600 Subject: [PATCH] Fix a regression I caused in boto_cognitoidentity I popped the wrong argument. This didn't fail in my module since I didn't use that argument, but caused a failure in cognitoidentity. --- salt/utils/boto3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/utils/boto3.py b/salt/utils/boto3.py index e0d0621efb..cfa59034fb 100644 --- a/salt/utils/boto3.py +++ b/salt/utils/boto3.py @@ -301,7 +301,7 @@ def paged_call(function, *args, **kwargs): its results, yielding each page as it is obtained. """ marker_flag = kwargs.pop('marker_flag', 'NextMarker') - marker_arg = kwargs.pop('marker_flag', 'Marker') + marker_arg = kwargs.pop('marker_arg', 'Marker') while True: ret = function(*args, **kwargs) marker = ret.get(marker_flag)