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.
This commit is contained in:
Kris Raney 2016-03-02 10:24:44 -06:00
parent fc03b25556
commit ba33404d3e

View File

@ -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)