MkPy hash view problems
Lars Heuer <[email protected]> Thu, 18 Aug 2005 18:07:36 +0200
| Newsgroups | gmane.comp.db.metakit |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
I have a problem with the hash view (Python 2.4)
Here a code snippet to illustrate the problem:
---
>>> import metakit
>>> s = metakit.storage()
>>> vw = s.getas('ex[s:S,i:I]')
>>> vwHash = s.getas('ex_hash[_H:I,_R:I]')
>>> view = vw.hash(vwHash)
>>> view.append(s='1')
0
>>> view.append(s='1')
1
>>>
---
I'd expected a result of the 2nd append operation that I get 0 as
result. All further calls to view.append(s='1') return also 1.
Do I make a mistake here or is it a bug?
Thanks and best regards,
Lars
--
http://semagia.com
_____________________________________________
Metakit mailing list - [email protected]
http://www.equi4.com/mailman/listinfo/metakit