summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjamesmarshall24 <jamarsha@redhat.com>2020-06-06 03:12:10 +0200
committerjamesmarshall24 <jamarsha@redhat.com>2020-06-06 03:12:10 +0200
commit2394c0cb3decd7fd85116b18829eb1714b01136c (patch)
tree27479c20c79acdba146701149ad3ef7304c6ffc7
parentMerge pull request #7239 from AlexSCorey/6863-CopyProjectsAndInventories (diff)
downloadawx-2394c0cb3decd7fd85116b18829eb1714b01136c.tar.xz
awx-2394c0cb3decd7fd85116b18829eb1714b01136c.zip
Remove query_parameters from within loop duplicating parameters in URL request
-rw-r--r--awxkit/awxkit/api/pages/page.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/awxkit/awxkit/api/pages/page.py b/awxkit/awxkit/api/pages/page.py
index 7e714bbb05..8fb2f8f095 100644
--- a/awxkit/awxkit/api/pages/page.py
+++ b/awxkit/awxkit/api/pages/page.py
@@ -276,7 +276,7 @@ class Page(object):
if all_pages and page.next:
paged_results = [r.json()['results']]
while page.next:
- r = self.connection.get(self.next, query_parameters)
+ r = self.connection.get(self.next)
page = self.page_identity(r)
paged_results.append(r.json()['results'])
json = r.json()