From 4c33ba3832a8cf5d9637f672a84b90e991194c3d Mon Sep 17 00:00:00 2001 From: Kai Zhou Date: Mon, 6 Apr 2015 15:36:17 -0600 Subject: [PATCH] fix bug in the get_dup_buckets missing one input argument --- lsh/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsh/__init__.py b/lsh/__init__.py index 7403f25..cc7a2f7 100644 --- a/lsh/__init__.py +++ b/lsh/__init__.py @@ -135,7 +135,7 @@ def prepare_dup_buckets(cls, buckets, id=None): # public methods - def get_dup_buckets(self, doc): + def get_dup_buckets(self, doc, id): """ Returns a list of buckets (which are themselves lists) that contain the ids of any matching documents. If the cache was built in chronological order