From 2339b83111fc93509bd4900a20604d4d52b88b60 Mon Sep 17 00:00:00 2001 From: Andre D Date: Wed, 24 Jul 2013 13:39:01 -0700 Subject: [PATCH] _by_fullname: Fix tdb_cassandra Thing implementation. --- r2/r2/lib/db/tdb_cassandra.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/r2/r2/lib/db/tdb_cassandra.py b/r2/r2/lib/db/tdb_cassandra.py index 6f2bc9203..963531d41 100644 --- a/r2/r2/lib/db/tdb_cassandra.py +++ b/r2/r2/lib/db/tdb_cassandra.py @@ -412,7 +412,9 @@ class ThingBase(object): return '%s_%s' % (self._type_prefix, self._id) @classmethod - def _by_fullname(cls, fnames, return_dict=True): + def _by_fullname(cls, fnames, return_dict=True, ignore_missing=False): + if ignore_missing: + raise NotImplementedError ids, is_single = tup(fnames, True) by_cls = {}