From eb2746916b1d19ab025714925d8d254716c498e3 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Thu, 19 Mar 2015 06:35:15 +0100 Subject: [PATCH] Removed unused duplicates flag from ordered index. --- didex/index.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/didex/index.py b/didex/index.py index 2f3fdef..a1ca061 100644 --- a/didex/index.py +++ b/didex/index.py @@ -58,9 +58,8 @@ class index(object): missing = object() class ordered(index, lib.closable): - def __init__(self, db, name, datatype, duplicates, create=True): + def __init__(self, db, name, datatype, create=True): super().__init__(db, name, datatype) - self.dup = duplicates fl = bd.DB_THREAD | bd.DB_AUTO_COMMIT if create: fl |= bd.DB_CREATE def initdb(db): -- 2.11.0