Skip to content

Commit

Permalink
Remove obsolete IS_PLONE_5 expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Nachtalb committed Dec 19, 2019
1 parent 4133dda commit 7a38dfc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ftw/subsite/browser/contact.py
Expand Up @@ -3,6 +3,7 @@
from email.header import Header
from email.mime.text import MIMEText
from ftw.subsite import _
from ftw.subsite import IS_PLONE_5
from plone.app.layout.navigation.root import getNavigationRoot
from plone.dexterity.utils import safe_utf8
from z3c.form import form, field, button
Expand All @@ -13,11 +14,6 @@
from zope.i18n import translate
from zope.interface import Interface
from zope.interface import Invalid
import pkg_resources
import re


IS_PLONE_5 = pkg_resources.get_distribution('Products.CMFPlone').version >= '5'


class IContactForm(Interface):
Expand Down

0 comments on commit 7a38dfc

Please sign in to comment.