summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@gmail.com>2010-12-10 21:15:33 +0000
committerVishvananda Ishaya <vishvananda@gmail.com>2010-12-10 21:15:33 +0000
commitf09b008388b9ed8dbd1d3f74cb1e9f2a458a3000 (patch)
tree3641c00f403a2c6e5c5c047416bc905c16f1c325
parent68dbbbba34af234f2770b40c03e4e4bfa5ad78d8 (diff)
fix pep8
-rw-r--r--nova/objectstore/image.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/objectstore/image.py b/nova/objectstore/image.py
index ed0f75cd2..c4d752124 100644
--- a/nova/objectstore/image.py
+++ b/nova/objectstore/image.py
@@ -194,8 +194,8 @@ class Image(object):
manifest = ElementTree.fromstring(bucket_object[manifest_path].read())
try:
- architecture = manifest.find("machine_configuration/kernel_id").text
- info['architecture'] = architecture
+ arch = manifest.find("machine_configuration/kernel_id").text
+ info['architecture'] = arch
except:
pass
try: