CachedLDAPConnection: Drop the old cache on version missmatch
authorW. Trevor King <wking@tremily.us>
Sun, 20 Jan 2013 16:48:11 +0000 (11:48 -0500)
committerW. Trevor King <wking@tremily.us>
Sun, 20 Jan 2013 18:05:19 +0000 (13:05 -0500)
commit8b53b6daa87c993f96783c2b70f953ae3c088b66
treeb51a06c6d8adbf28066d6e3fdf95597bb317935a
parent8dc610d885f76b451744cbe6bb61e39ab30e8a37
CachedLDAPConnection: Drop the old cache on version missmatch

The expected CachedLDAPConnection._cache_version tracks __version__,
so if you bump __version__, you invalidate the existing cache.  There
shouldn't be anything critical in the cache, and this is safer than
trying to remember to bump an independent _cache_version after major
changes.
mutt-ldap.py