summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2010-08-14 22:03:38 +0000
committerTarmac <>2010-08-14 22:03:38 +0000
commitcecfc6a60dbdefaab8bcc549f09e7e88aa3b29d5 (patch)
treeac9570efa0376cb6bd471718847b70a263408ff0
parent24644fb29835a5f83b5060d86baa471974715af0 (diff)
parentd744a5e7bd7aef545def85d54c9e1fc3480c55fc (diff)
downloadnova-cecfc6a60dbdefaab8bcc549f09e7e88aa3b29d5.tar.gz
nova-cecfc6a60dbdefaab8bcc549f09e7e88aa3b29d5.tar.xz
nova-cecfc6a60dbdefaab8bcc549f09e7e88aa3b29d5.zip
Fixes bug lp:616312 by reversing the order of args in nova-manage when it calls AuthManager.get_credentials.
-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)