diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2011-09-12 15:17:57 -0400 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2011-09-12 15:17:57 -0400 |
| commit | 40df48ff0047caeca0472ee652a250c5d5a3e74f (patch) | |
| tree | 1678c0acd8d191a818e903e86d2c3878c83f23bd | |
| parent | 9482275a60ab8caa546ec402f61c60b9f5e7e33f (diff) | |
pep8 fix.
| -rw-r--r-- | nova/image/glance.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/image/glance.py b/nova/image/glance.py index e735f4082..13c8ff843 100644 --- a/nova/image/glance.py +++ b/nova/image/glance.py @@ -62,9 +62,9 @@ def _create_glance_client(context, host, port): if context.strategy == 'keystone': # NOTE(dprince): Glance client just needs auth_tok right? Should we # add username and tenant to the creds below? - creds={'strategy': 'keystone', - 'username': context.user_id, - 'tenant': context.project_id} + creds = {'strategy': 'keystone', + 'username': context.user_id, + 'tenant': context.project_id} glance_client = GlanceClient(host, port, auth_tok=context.auth_token, creds=creds) else: |
