Dolda2000 GitWeb
/
didex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a48a2d5
)
Fixed datastore registration bug.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 30 Mar 2015 03:45:27 +0000
(
05:45
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Mon, 30 Mar 2015 03:45:27 +0000
(
05:45
+0200)
didex/store.py
patch
|
blob
|
blame
|
history
diff --git
a/didex/store.py
b/didex/store.py
index
8481c0f
..
43c1348
100644
(file)
--- a/
didex/store.py
+++ b/
didex/store.py
@@
-107,6
+107,7
@@
class autotype(type):
def __call__(self, *args, **kwargs):
new = super().__call__(*args, **kwargs)
new.id = self.store.register(new)
+ self.store.update(new.id, vfy=new) # This doesn't feel too nice.
return new
class autostore(object, metaclass=autotype):