Merge "Python3: use six.iteritems() rather than dict.iteritems()"

This commit is contained in:
Jenkins
2014-02-18 12:19:03 +00:00
committed by Gerrit Code Review

View File

@@ -13,6 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import copy
import six
from heatclient.openstack.common.apiclient import base
from heatclient.openstack.common.py3kcompat import urlutils
@@ -98,7 +99,7 @@ class StackManager(base.BaseManager):
filters = kwargs.pop('filters')
params.update(filters)
for key, value in kwargs.iteritems():
for key, value in six.iteritems(kwargs):
if value:
params[key] = value