From e77eac8611f8fbb333168dc344c0056acaebb8b5 Mon Sep 17 00:00:00 2001 From: Edgar Magana Date: Sat, 29 Aug 2015 08:00:17 -0700 Subject: [PATCH] Improve python code for missing suggestion Include a missing suggestion in code already merged Related-Blueprint: better-quotas Change-Id: I5983ccf6e2f98d2df41403b3be06748d5556c181 --- neutron/quota/resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.45.2