[Erp5-report] r27370 - /erp5/trunk/products/ERP5Type/Core/DistributedRamCache.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jun 4 16:50:34 CEST 2009
Author: nicolas
Date: Thu Jun 4 16:50:33 2009
New Revision: 27370
URL: http://svn.erp5.org?rev=27370&view=rev
Log:
code cleaning
Modified:
erp5/trunk/products/ERP5Type/Core/DistributedRamCache.py
Modified: erp5/trunk/products/ERP5Type/Core/DistributedRamCache.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Core/DistributedRamCache.py?rev=27370&r1=27369&r2=27370&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Core/DistributedRamCache.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/Core/DistributedRamCache.py [utf8] Thu Jun 4 16:50:33 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2005 Nexedi SARL and Contributors. All Rights Reserved.
@@ -30,7 +31,6 @@
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
@@ -39,14 +39,14 @@
DistributedRamCache is a Zope (persistent) representation of
the Distributed RAM Cache real cache plugin object.
"""
-
+
meta_type='ERP5 Distributed Ram Cache'
portal_type='Distributed Ram Cache'
isPortalContent = 1
isRADContent = 1
-
+
allowed_types = ()
-
+
security = ClassSecurityInfo()
security.declareProtected(Permissions.ManagePortal,
'manage_editProperties',
@@ -57,7 +57,7 @@
property_sheets = ( PropertySheet.Base
, PropertySheet.SimpleItem
, PropertySheet.Folder
+ , PropertySheet.SortIndex
, BaseCache
- , SortIndex
- , DistributedRamCache
+ , DistributedRamCache
)
More information about the Erp5-report
mailing list