On Tue, Apr 22, 2008 at 10:23:22PM +0200, alexander krohn wrote:
-> Titus Brown schrieb:
-> >Hi, Alexander, can you give us a short example that doesn't work?
-> >
-> >  
-> i think it's a problem about the traversal.

try:

class RootDirectory(AccessControlled, Directory):
  ...

Apparently the method resolution order requires things in this order!?
Took me a little while to track down.

cheers,
--titus

-> class RootDirectory(Directory, AccessControlled):
->    _q_exports = ['', ]
->    def _q_index(self):
->        return "moin"
-> 
->    def _q_access():
->        raise AccessError()
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to