diff --git a/module_utils/aos_http.py b/module_utils/aos_http.py index 67bf0f7..0a4f61a 100644 --- a/module_utils/aos_http.py +++ b/module_utils/aos_http.py @@ -54,7 +54,7 @@ def get_query_params(self): offset=self._module.params.get('offset'), total=self._module.params.get('total') ) - query_params.update({key: value for key, value in params.iteritems() if value is not None}) + query_params.update({key: value for key, value in params.items() if value is not None}) return query_params def get_url(self, url, params=None):