Commit 07eaceb2 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Moved to ERP5Type some PropertySheets which are necessary for ERP5Type. It is...

Moved to ERP5Type some PropertySheets which are necessary for ERP5Type. It is not consistent for ERP5Type to depend on ERP5.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28997 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 809e816e
......@@ -31,9 +31,6 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type import PropertySheet
from Products.ERP5Type import Permissions
from Products.ERP5.PropertySheet.SortIndex import SortIndex
from Products.ERP5Type.PropertySheet.BaseCache import BaseCache
from Products.ERP5Type.PropertySheet.DistributedRamCache import DistributedRamCache
class DistributedRamCache(XMLObject):
"""
......@@ -58,7 +55,7 @@ class DistributedRamCache(XMLObject):
property_sheets = ( PropertySheet.Base
, PropertySheet.SimpleItem
, PropertySheet.Folder
, SortIndex
, BaseCache
, DistributedRamCache
, PropertySheet.SortIndex
, PropertySheet.BaseCache
, PropertySheet.DistributedRamCache
)
......@@ -30,8 +30,6 @@
from AccessControl import ClassSecurityInfo
from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type import PropertySheet
from Products.ERP5.PropertySheet.SortIndex import SortIndex
from Products.ERP5.PropertySheet.Url import Url
from Products.ERP5Type.PropertySheet.MemcachedPlugin import MemcachedPlugin
from Products.ERP5Type import Permissions
from Products.ERP5Type.Tool.MemcachedTool import memcached_dict_pool
......@@ -57,9 +55,9 @@ class MemcachedPlugin(XMLObject):
property_sheets = ( PropertySheet.Base
, PropertySheet.SimpleItem
, PropertySheet.Folder
, MemcachedPlugin
, SortIndex
, Url
, PropertySheet.MemcachedPlugin
, PropertySheet.SortIndex
, PropertySheet.Url
)
def manage_beforeDelete(self, *args, **kw):
......
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2005 Nexedi SARL and Contributors. All Rights Reserved.
......@@ -31,8 +32,6 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type.XMLObject import XMLObject
from Products.ERP5Type import PropertySheet
from Products.ERP5Type import Permissions
from Products.ERP5.PropertySheet.SortIndex import SortIndex
from Products.ERP5Type.PropertySheet.BaseCache import BaseCache
class RamCache(XMLObject):
"""
......@@ -55,6 +54,6 @@ class RamCache(XMLObject):
property_sheets = ( PropertySheet.Base
, PropertySheet.SimpleItem
, PropertySheet.Folder
, SortIndex
, BaseCache
, PropertySheet.SortIndex
, PropertySheet.BaseCache
)
......@@ -8,3 +8,8 @@ from BaseType import BaseType
from ActionInformation import ActionInformation
from RoleInformation import RoleInformation
from TranslationInformation import TranslationInformation
from SortIndex import SortIndex
from BaseCache import BaseCache
from DistributedRamCache import DistributedRamCache
from Url import Url
from MemcachedPlugin import MemcachedPlugin
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