From: Edgar Magana Date: Sat, 29 Aug 2015 15:00:17 +0000 (-0700) Subject: Improve python code for missing suggestion X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=e77eac8611f8fbb333168dc344c0056acaebb8b5;p=openstack-build%2Fneutron-build.git Improve python code for missing suggestion Include a missing suggestion in code already merged Related-Blueprint: better-quotas Change-Id: I5983ccf6e2f98d2df41403b3be06748d5556c181 --- diff --git a/neutron/quota/resource.py b/neutron/quota/resource.py index 7068254c7..4ebca3f02 100644 --- a/neutron/quota/resource.py +++ b/neutron/quota/resource.py @@ -194,7 +194,7 @@ class TrackedResource(BaseResource): "on resource:%(resource)s"), {'tenant_id': tenant_id, 'resource': self.name}) self._out_of_sync_tenants |= dirty_tenants_snap - self._dirty_tenants = self._dirty_tenants - dirty_tenants_snap + self._dirty_tenants -= dirty_tenants_snap def _db_event_handler(self, mapper, _conn, target): try: