Commits

codernity  committed e846bc4

Small fix in shard index __init__

  • Participants
  • Parent commits 601cd7a

Comments (0)

Files changed (1)

File CodernityDB/sharded_hash.py

         kwargs['ind_class'] = UniqueHashIndex
         super(IU_ShardedUniqueHashIndex, self).__init__(db_path,
                                                         name, *args, **kwargs)
-        self.patchers.append(ShardedUniqueHashIndex.wrap_insert_id_index)
+        self.patchers.append(self.wrap_insert_id_index)
 
     @staticmethod
     def wrap_insert_id_index(db_obj, clean=False):