[Checkins] SVN: zope.component/trunk/ Add convenience contextmanager for setting the site
Wolfgang Schnerring
ws at gocept.com
Wed Nov 16 09:59:28 UTC 2011
* Michael Howitz <mh at gocept.com> [2011-11-16 10:13]:
> > Log message for revision 123355:
> > Add convenience contextmanager for setting the site
> [...]
> > +- Add convenience function zope.component.hooks.site (a contextmanager),
> > + so one can write ``with site(foo): ...``.
>
> Nice improvement but it is not compatible with Python 2.5.
Whoops. I thought I had made appropriate provisions, but I didn't
actually re-create my buildout to check it. And as always, if it is
not tested, it's broken. Will fix.
Wolfgang
More information about the checkins
mailing list