]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Modified code PEP8 warning.
authorsiyingchun <siyingchun@sina.com>
Wed, 29 Aug 2012 01:22:26 +0000 (09:22 +0800)
committersiyingchun <siyingchun@sina.com>
Fri, 31 Aug 2012 03:13:01 +0000 (11:13 +0800)
*Find more than one space after keywords, then eat one.
*Make sure every continuation line is aligned with the first character after
the top parenthesis in the top line.

Change-Id: Id3eb1ec728bc3329a859d0817d61b639019ffe8b

quantum/agent/dhcp_agent.py

index f630fe0242bc82aefa43fe522b83bfa7be424417..1c7e678dedd8d4e98ba5d1b22f50e6f81f661798 100644 (file)
@@ -365,9 +365,9 @@ class DeviceManager(object):
         else:
             namespace = None
 
-        if  ip_lib.device_exists(interface_name,
-                                 self.conf.root_helper,
-                                 namespace):
+        if ip_lib.device_exists(interface_name,
+                                self.conf.root_helper,
+                                namespace):
             if not reuse_existing:
                 raise exceptions.PreexistingDeviceFailure(
                     dev_name=interface_name)