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:
947dfab
)
Fixed multi-index bug.
master
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 21 Mar 2018 22:37:42 +0000
(23:37 +0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 21 Mar 2018 22:37:42 +0000
(23:37 +0100)
didex/values.py
patch
|
blob
|
blame
|
history
diff --git
a/didex/values.py
b/didex/values.py
index
debd29e
..
e51d9d5
100644
(file)
--- a/
didex/values.py
+++ b/
didex/values.py
@@
-129,7
+129,7
@@
class multi(descbase):
idx.remove(val, id, tx=tx)
for val in vals - ivals:
idx.put(val, id, tx=tx)
- tx.postcommit(lambda: self.store.icache.__setitem__((obj, self), val))
+ tx.postcommit(lambda: self.store.icache.__setitem__((obj, self), val
s
))
def loaded(self, id, obj, tx):
vals = frozenset(self.__get__(obj, None))