From f559738ed43c309c3b023de2a095170fa5f57464 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 29 Feb 2012 12:29:33 -0500 Subject: [PATCH] Oops, mark Resolve._cache_dirty not self._cache_dirty to actually save new data. --- apachelog/resolve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apachelog/resolve.py b/apachelog/resolve.py index 3a5a7c6..8bb915e 100644 --- a/apachelog/resolve.py +++ b/apachelog/resolve.py @@ -79,7 +79,7 @@ class Resolver (object): def resolve(self, ip): if ip not in self.IP: - self._cache_dirty = True + Resolver._cache_dirty = True try: self.IP[ip] = _socket.gethostbyaddr(ip) except _socket.herror as e: -- 2.26.2