]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fix over-indent in compute/nova
authorZhiteng Huang <zhithuang@ebaysf.com>
Mon, 23 Sep 2013 15:51:05 +0000 (23:51 +0800)
committerZhiteng Huang <zhithuang@ebaysf.com>
Mon, 23 Sep 2013 15:51:05 +0000 (23:51 +0800)
There are two lines in compute/nova.py that uses 8 spaces indent,
this simple patch correct those to 4 spaces.

Change-Id: I8f7849385ef59a085b5e3cc45954a2f2a19442ee

cinder/compute/nova.py

index 13c960063a86e1089b40962758dc06852ccf7204..d60a7da80113bf83319dc2014399a4ce6872e8b0 100644 (file)
@@ -77,8 +77,8 @@ def novaclient(context, admin=False):
     nova_catalog_info = CONF.nova_catalog_info
 
     if admin:
-            nova_endpoint_template = CONF.nova_endpoint_admin_template
-            nova_catalog_info = CONF.nova_catalog_admin_info
+        nova_endpoint_template = CONF.nova_endpoint_admin_template
+        nova_catalog_info = CONF.nova_catalog_admin_info
 
     if nova_endpoint_template:
         url = nova_endpoint_template % context.to_dict()