Dolda2000 GitWeb
/
didex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
24ed2bc
)
Renamed store.store to avoid top-level conflict.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 29 Mar 2015 02:48:00 +0000
(
04:48
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 29 Mar 2015 02:48:00 +0000
(
04:48
+0200)
didex/store.py
patch
|
blob
|
blame
|
history
diff --git
a/didex/store.py
b/didex/store.py
index
8008ee5
..
8481c0f
100644
(file)
--- a/
didex/store.py
+++ b/
didex/store.py
@@
-2,7
+2,7
@@
import threading, pickle
from . import db, index, cache
from .db import txnfun
from . import db, index, cache
from .db import txnfun
-__all__ = ["environment", "store", "autostore"]
+__all__ = ["environment", "
data
store", "autostore"]
class environment(object):
def __init__(self, *, path=None, getpath=None, recover=False):
class environment(object):
def __init__(self, *, path=None, getpath=None, recover=False):
@@
-44,7
+44,7
@@
def storedescs(obj):
t.__didex_attr = ret
return ret
t.__didex_attr = ret
return ret
-class store(object):
+class
data
store(object):
def __init__(self, name, *, env=None, path=".", ncache=None):
self.name = name
self.lk = threading.Lock()
def __init__(self, name, *, env=None, path=".", ncache=None):
self.name = name
self.lk = threading.Lock()