From: Pavel Bondar Date: Wed, 24 Jun 2015 09:25:22 +0000 (+0300) Subject: Fixing indentation and typo in comments X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=fc472397016c6958e7e02808ac3bc43216e21a62;p=openstack-build%2Fneutron-build.git Fixing indentation and typo in comments - Fix strange indentation - Fix typo in comment Change-Id: I70893bc751c16265a8c3b3214524ab2553f4f30f --- diff --git a/neutron/db/ipam_backend_mixin.py b/neutron/db/ipam_backend_mixin.py index d4468e40e..cb82b4ede 100644 --- a/neutron/db/ipam_backend_mixin.py +++ b/neutron/db/ipam_backend_mixin.py @@ -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): diff --git a/neutron/ipam/__init__.py b/neutron/ipam/__init__.py index 6e1e43817..16c8151e3 100644 --- a/neutron/ipam/__init__.py +++ b/neutron/ipam/__init__.py @@ -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