]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Fixing indentation and typo in comments
authorPavel Bondar <pbondar@infoblox.com>
Wed, 24 Jun 2015 09:25:22 +0000 (12:25 +0300)
committerPavel Bondar <pbondar@infoblox.com>
Wed, 1 Jul 2015 10:03:23 +0000 (13:03 +0300)
- Fix strange indentation
- Fix typo in comment

Change-Id: I70893bc751c16265a8c3b3214524ab2553f4f30f

neutron/db/ipam_backend_mixin.py
neutron/ipam/__init__.py

index d4468e40e78922c8e70191cd9b263c553b104b48..cb82b4ede6bcd82e9ca5635fb0faad2b1416f5ef 100644 (file)
@@ -226,7 +226,7 @@ class IpamBackendMixin(db_base_plugin_common.DbBasePluginCommon):
         """
         for subnet in network.subnets:
             if (subnet.ip_version == ip_version and
-               new_subnetpool_id != subnet.subnetpool_id):
+                    new_subnetpool_id != subnet.subnetpool_id):
                 raise n_exc.NetworkSubnetPoolAffinityError()
 
     def _validate_allocation_pools(self, ip_pools, subnet_cidr):
index 6e1e438177d4354667a99ec0b86918427b29f3c1..16c8151e358bd00fe21a218d548738458aefd7ab 100644 (file)
@@ -44,7 +44,7 @@ class SubnetRequest(object):
         :param tenant_id: The tenant id who will own the subnet
         :type tenant_id: str uuid
         :param subnet_id: Neutron's subnet ID
-        :type subnet_id: srt uuid
+        :type subnet_id: str uuid
         :param gateway_ip: An IP to reserve for the subnet gateway.
         :type gateway_ip: None or convertible to netaddr.IPAddress
         :param allocation_pools: The pool from which IPAM should allocate