summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2010-08-13 14:09:30 -0700
committerVishvananda Ishaya <vishvananda@gmail.com>2010-08-13 14:09:30 -0700
commitd744a5e7bd7aef545def85d54c9e1fc3480c55fc (patch)
tree987f1e995a4eb7b72edf506985eb5e756d611224 /bin
parent2bbb2b86272c89b35a1042ab2866bbe4863bc3e3 (diff)
downloadnova-d744a5e7bd7aef545def85d54c9e1fc3480c55fc.tar.gz
nova-d744a5e7bd7aef545def85d54c9e1fc3480c55fc.tar.xz
nova-d744a5e7bd7aef545def85d54c9e1fc3480c55fc.zip
Fixes out of order arguments in get_credentials
Diffstat (limited to 'bin')
-rwxr-xr-xbin/nova-manage2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/nova-manage b/bin/nova-manage
index 6af092922..071436b13 100755
--- a/bin/nova-manage
+++ b/bin/nova-manage
@@ -206,7 +206,7 @@ class ProjectCommands(object):
def zipfile(self, project_id, user_id, filename='nova.zip'):
"""Exports credentials for project to a zip file
arguments: project_id user_id [filename='nova.zip]"""
- zip_file = self.manager.get_credentials(project_id, user_id)
+ zip_file = self.manager.get_credentials(user_id, project_id)
with open(filename, 'w') as f:
f.write(zip_file)