From: W. Trevor King Date: Wed, 29 Feb 2012 17:29:33 +0000 (-0500) Subject: Oops, mark Resolve._cache_dirty not self._cache_dirty to actually save new data. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f559738ed43c309c3b023de2a095170fa5f57464;p=apachelog.git Oops, mark Resolve._cache_dirty not self._cache_dirty to actually save new data. --- 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: