summaryrefslogtreecommitdiff
path: root/heatclient/v1/stacks.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2014-03-20 23:21:13 +0000
committerGerrit Code Review <review@openstack.org>2014-03-20 23:21:13 +0000
commit8a51be611b688c7a670243b23c5c7e9c299d1da5 (patch)
tree010c82b6afe7e503e01adcbc8b8975e2d2741d92 /heatclient/v1/stacks.py
parentbb2aa6a40d832c30b8c92964af57f711f0a37eb9 (diff)
parent9d3d26d903d269a3bbaabde4ddcc411c28fe3f01 (diff)
downloadpython-heatclient-8a51be611b688c7a670243b23c5c7e9c299d1da5.tar.gz
Merge "Remove dependent module py3kcompat"
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