Re: Axiom on the client and server, Client-side object caches was Re: Any ideas why Axiom is acting odd?
Robert Gravina <[email protected]> Mon, 3 Jul 2006 15:54:44 +0900
| Newsgroups | gmane.comp.python.quotient.dev |
|---|---|
| Message-ID | <[email protected]> |
On 2006/07/03, at 15:43, Robert Gravina wrote: > import types > for book in myitem.books: > if type(myitem.book) is types.IntType: > myitem.books = cache.get(myitem.books) > print book.name Oops again, this time using the StoreID stub object: for book in myitem.books: if type(book) is StoreID: book = cache.get(book.storeID) print book.name Something like that. Robert