Skip to content

Commit

Permalink
fix plone4.0 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
toutpt committed Dec 9, 2013
1 parent a6a6dab commit fe1401a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion collective/portlet/contact/portlet/contact.py
Expand Up @@ -4,7 +4,11 @@
from zope import schema
from zope.interface import implements
from zope.formlib import form
from zope.browserpage.viewpagetemplatefile import ViewPageTemplateFile
try:
from zope.browserpage.viewpagetemplatefile import ViewPageTemplateFile
except ImportError:
#bbb plone4.0
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile

#from plone.memoize.compress import xhtml_compress
from plone.memoize.instance import memoize
Expand Down

0 comments on commit fe1401a

Please sign in to comment.