Merge "Py3: fix an error when adding two dict_items"

This commit is contained in:
Jenkins 2016-05-10 14:28:55 +00:00 committed by Gerrit Code Review
commit 42e8fea6e8

View File

@ -61,7 +61,7 @@ class ServersClient(base_compute_client.BaseComputeClient):
post_body = {'server': body}
if hints:
post_body = dict(post_body.items() + hints.items())
post_body.update(hints)
post_body = json.dumps(post_body)
resp, body = self.post('servers', post_body)