Skip to content

Commit

Permalink
pep8 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTango committed May 11, 2017
1 parent 9edcd10 commit 866f5d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Products/EasyNewsletter/content/ENLIssue.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from zope.component import subscribers
from zope.site.hooks import getSite
from zope.interface import implementer
from plone.protect.auto import safeWrite
# from plone.protect.auto import safeWrite
import logging
import pkg_resources

Expand Down
2 changes: 1 addition & 1 deletion Products/EasyNewsletter/issuedatafetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from Products.EasyNewsletter.utils.base import safe_portal_encoding
from Products.EasyNewsletter.utils.ENLHTMLParser import ENLHTMLParser
from Products.PageTemplates.ZopePageTemplate import ZopePageTemplate
from stoneagehtml import compactify
# from stoneagehtml import compactify
from urlparse import urlparse
from zope.event import notify
from zope.interface import implementer
Expand Down
1 change: 1 addition & 0 deletions Products/EasyNewsletter/utils/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def create_html_mail(subject, html, text=None, from_addr=None, to_addr=None,

return msg


# XXX verify if this is in use, seems not the case
@implementer(IDispatch)
@adapter(email.Message.Message)
Expand Down

0 comments on commit 866f5d1

Please sign in to comment.