diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2010-08-04 12:54:21 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2010-08-04 12:54:21 -0700 |
| commit | 4f6d71411ca23a4f92654f000e24fe008f0a00da (patch) | |
| tree | 43869860ef48bbacce4c957f0264704468d48164 | |
| parent | bfe90c9c26a0c477386f3143c1e9f0563b6a1a97 (diff) | |
use iteritems
| -rw-r--r-- | nova/endpoint/cloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/endpoint/cloud.py b/nova/endpoint/cloud.py index 338a52214..789663899 100644 --- a/nova/endpoint/cloud.py +++ b/nova/endpoint/cloud.py @@ -584,7 +584,7 @@ class CloudController(object): inst['project_id'] = context.project.id inst['ami_launch_index'] = num inst['security_group'] = security_group - for (key, value) in allocate_data: + for (key, value) in allocate_data.iteritems(): inst[key] = value inst.save() |
