On Mon, 25 Sep 2006 12:01:12 +0200, Markus Schiltknecht <[EMAIL PROTECTED]> 
wrote:
Okay, thanks. But now... how can I remove the hard-coded 'level' number? I would like to write 'components' or Fragments which don't care on what level they are used.

Use -1 as an index. It will take the last segment each time.

Another thing that bugs me is the duplicate definition of the children: I have to set the child_XY attribute as well as the fragment dictionary. But that can easily be avoided, I think.

Build those dictionary dynamically at startup time.

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web

Reply via email to