-----BEGIN PGP SIGNED MESSAGE-----
> Lennart Regebro wrote:
>>> 3.) Zope 2.8 warnings
>>> 'Zope2' is not available in Zope 2.7 and 'Zope' is deprecated in Zope
>>> 2.8. Same with 'transaction' and 'get_transaction'.
>>> Has anybody a better idea to resolve it than this way:
>> Well, the deprecation procedures and warning is there to tell you that
>> you are using a way that works no, but will stop working later. The
>> standard pattern when you need to support both the version where they
>> are deprecated, and the version where they are not, is to do
>> nothing... And then when you no longer need to support the older
>> version, you move up to the new non-deprecated API.
> These deprecation warnings produce *a lot of* noise. All I want is to
> reduce that noise.
Import Zope as Zope2
and then s/\<Zope\>/Zope2/g?
Tres Seaver [EMAIL PROTECTED]
Zope Corporation "Zope Dealers" http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests