]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix AttributeError typo
authorDirk Mueller <dirk@dmllr.de>
Sat, 1 Jun 2013 12:52:45 +0000 (14:52 +0200)
committerDirk Mueller <dirk@dmllr.de>
Sat, 1 Jun 2013 15:46:20 +0000 (17:46 +0200)
Fixes Bug LP #1186566

Change-Id: I8211d365c4d3532cd6ffc3b3041661ff6b9e637f

cinder/volume/drivers/san/hp/hp_3par_common.py

index 9468904994c53e82f272d02192a4381bc07c33f0..55366ce8e8dc29e2a4e8983993aa5877e432fe86 100644 (file)
@@ -706,12 +706,12 @@ exit
 
             try:
                 extra['name'] = snapshot['display_name']
-            except AttribteError:
+            except AttributeError:
                 pass
 
             try:
                 extra['description'] = snapshot['display_description']
-            except AttribteError:
+            except AttributeError:
                 pass
 
             optional = {'comment': json.dumps(extra),