NameError in cache.py error handling

This commit is contained in:
Keith Mitchell
2012-03-14 17:24:15 -07:00
parent 70e4d87e7a
commit c642d437dc

View File

@@ -618,7 +618,7 @@ class CassandraCacheChain(CacheChain):
if value is None:
value = self.cassa.get(key,
read_consistency_level = rcl)
except cassandra.ttypes.NotFoundException:
except CassandraNotFound:
value = default
# due to an old bug in NoneResult caching, we still