aboutsummaryrefslogtreecommitdiffstats
path: root/paste/store.py
diff options
context:
space:
mode:
Diffstat (limited to 'paste/store.py')
-rw-r--r--paste/store.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/paste/store.py b/paste/store.py
index e7022f6..f69c03d 100644
--- a/paste/store.py
+++ b/paste/store.py
@@ -120,9 +120,3 @@ class Store:
"SELECT COUNT(*) FROM token WHERE hash = SHA256(?)", (token,)
).fetchone()
return count > 0
-
-
-@contextmanager
-def open(uri: str) -> Iterator[Store]:
- with db.connect(uri) as conn:
- yield Store(conn)