[[EMAIL PROTECTED]]
(Bug in the encoding of the message, MHA)
| path = string.split(relative_url, '/')
| path = filter(None, path)
| new_path = '%s' % path[0]
| path = path[1:]
|
| for element in path:
|
| new_path = new_path + "['%s']" % element
|
| return eval("self%s" % new_path)
-Morten
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )