Commit bb00af1d authored by Matthew Wilkes's avatar Matthew Wilkes

Use zope.deferredimport instead of zope.deprecated for deprecations. Yay.

parent 6fe2fc90
......@@ -56,7 +56,6 @@ setup(name='Zope2',
'zope.browsermenu',
'zope.browserpage',
'zope.browserresource',
'zope.deprecation',
'zope.component',
'zope.configuration',
'zope.container',
......
import zope.deprecation
zope.deprecation.moved('zope.sendmail.mailer', 'Zope 2.14')
\ No newline at end of file
import zope.deferredimport
zope.deferredimport.deprecatedFrom(
"Import from zope.sendmail instead",
'zope.sendmail.mailer',
'SMTPMailer',
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment