From 9fc49316253bb445fd037e1bc03b65cb60fd2455 Mon Sep 17 00:00:00 2001 From: Ricky Ramirez Date: Wed, 3 Jul 2013 18:48:01 -0700 Subject: [PATCH] cloudsearch: Removed obsolete desired_things function. --- r2/r2/lib/cloudsearch.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/r2/r2/lib/cloudsearch.py b/r2/r2/lib/cloudsearch.py index 2d19eed8c..fac65550e 100644 --- a/r2/r2/lib/cloudsearch.py +++ b/r2/r2/lib/cloudsearch.py @@ -346,10 +346,6 @@ class CloudSearchUploader(object): fullnames.add(item['fullname']) return fullnames - @classmethod - def desired_things(cls, things): - return [t for t in things if isinstance(t, cls.types)] - def _version_tenths(self): '''Cloudsearch documents don't update unless the sent "version" field is higher than the one currently indexed. As our documents don't have