summaryrefslogtreecommitdiff
path: root/heatclient/v1/stacks.py
diff options
context:
space:
mode:
Diffstat (limited to 'heatclient/v1/stacks.py')
-rw-r--r--heatclient/v1/stacks.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/heatclient/v1/stacks.py b/heatclient/v1/stacks.py
index eb959f6..c290c4b 100644
--- a/heatclient/v1/stacks.py
+++ b/heatclient/v1/stacks.py
@@ -14,9 +14,9 @@
# under the License.
import six
+from six.moves.urllib import parse
from heatclient.openstack.common.apiclient import base
-from heatclient.openstack.common.py3kcompat import urlutils
class Stack(base.Resource):
@@ -81,7 +81,7 @@ class StackManager(base.BaseManager):
def paginate(params):
'''Paginate stacks, even if more than API limit.'''
current_limit = int(params.get('limit') or 0)
- url = '/stacks?%s' % urlutils.urlencode(params, True)
+ url = '/stacks?%s' % parse.urlencode(params, True)
stacks = self._list(url, 'stacks')
for stack in stacks:
yield stack