]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixed pep8 error.
authorSumit Naiksatam <snaiksat@cisco.com>
Wed, 3 Aug 2011 22:41:06 +0000 (15:41 -0700)
committerSumit Naiksatam <snaiksat@cisco.com>
Wed, 3 Aug 2011 22:41:06 +0000 (15:41 -0700)
quantum/plugins/cisco/ucs/cisco_ucs_network_driver.py

index be1c89e22368a62b49fda13acbedf2853104798e..2d994ddec11def0f5014241ecf9a4bac6b0380ee 100644 (file)
@@ -158,7 +158,8 @@ class CiscoUCSMDriver():
         data = data.replace(VLAN_NAME, vlan_name)
         return data
 
-    def _create_profile_client_post_data(self, profile_name, profile_client_name):
+    def _create_profile_client_post_data(self, profile_name,
+                                         profile_client_name):
         data = ASSOCIATE_PROFILE.replace(PROFILE_NAME, profile_name)
         data = data.replace(PROFILE_CLIENT, profile_client_name)
         return data
@@ -198,7 +199,8 @@ class CiscoUCSMDriver():
                        ucsm_password):
         data = self._create_profile_post_data(profile_name, vlan_name)
         self._post_data(ucsm_ip, ucsm_username, ucsm_password, data)
-        data = self._create_profile_client_post_data(profile_name, profile_name[-16:])
+        data = self._create_profile_client_post_data(profile_name,
+                                                     profile_name[-16:])
         self._post_data(ucsm_ip, ucsm_username, ucsm_password, data)
 
     def change_vlan_in_profile(self, profile_name, old_vlan_name,