Commit 72b34bfb authored by Julien Muchembled's avatar Julien Muchembled

Compatibility with Zope 2.8

parent ad10a33b
...@@ -1335,7 +1335,7 @@ class ActivityTool (Folder, UniqueObject): ...@@ -1335,7 +1335,7 @@ class ActivityTool (Folder, UniqueObject):
""" """
Clear all activities and recreate tables. Clear all activities and recreate tables.
""" """
folder = self.getPortalObject().portal_skins folder = self.getPortalObject().portal_skins.activity
# Obtain all pending messages. # Obtain all pending messages.
message_list_dict = {} message_list_dict = {}
......
...@@ -56,6 +56,9 @@ if sys.version_info < (2, 5): ...@@ -56,6 +56,9 @@ if sys.version_info < (2, 5):
hashlib.md5 = md5.new hashlib.md5 = md5.new
hashlib.sha1 = sha.new hashlib.sha1 = sha.new
import email.Utils
sys.modules['email.utils'] = email.Utils
# A business template exported by Python 2.4 may contain: # A business template exported by Python 2.4 may contain:
# <klass> # <klass>
# <global id="xxx" name="_compile" module="sre"/> # <global id="xxx" name="_compile" module="sre"/>
......
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