Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
bb00af1d
Commit
bb00af1d
authored
Jun 29, 2010
by
Matthew Wilkes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use zope.deferredimport instead of zope.deprecated for deprecations. Yay.
parent
6fe2fc90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
setup.py
setup.py
+0
-1
src/Products/MailHost/mailer.py
src/Products/MailHost/mailer.py
+7
-2
No files found.
setup.py
View file @
bb00af1d
...
...
@@ -56,7 +56,6 @@ setup(name='Zope2',
'zope.browsermenu'
,
'zope.browserpage'
,
'zope.browserresource'
,
'zope.deprecation'
,
'zope.component'
,
'zope.configuration'
,
'zope.container'
,
...
...
src/Products/MailHost/mailer.py
View file @
bb00af1d
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'
,
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment