fix py3
This commit is contained in:
parent
ba70d8fe8d
commit
88f64deff9
3 changed files with 3 additions and 3 deletions
|
|
@ -210,7 +210,7 @@ class RestAPI(object):
|
|||
return self.deployments[deployment_id]
|
||||
|
||||
def get_deployments(self):
|
||||
return self.deployments.values()
|
||||
return list(self.deployments.values())
|
||||
|
||||
def delete_deployment(self, deployment_id):
|
||||
return self.deployments.pop(deployment_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue