From c642d437dc950b646e4624cf6572a4e249ee62db Mon Sep 17 00:00:00 2001 From: Keith Mitchell Date: Wed, 14 Mar 2012 17:24:15 -0700 Subject: [PATCH] NameError in cache.py error handling --- r2/r2/lib/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/lib/cache.py b/r2/r2/lib/cache.py index 289f6fc38..ae1d2e42c 100644 --- a/r2/r2/lib/cache.py +++ b/r2/r2/lib/cache.py @@ -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