[CMF-checkins] CVS: CMF/CMFCore - PortalContent.py:1.34.10.4
Sidnei da Silva
sidnei@x3ng.com.br
Tue, 3 Jun 2003 11:00:16 -0400
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv2574/CMFCore
Modified Files:
Tag: CMF-1_3-branch
PortalContent.py
Log Message:
Whitespace
=== CMF/CMFCore/PortalContent.py 1.34.10.3 => 1.34.10.4 ===
--- CMF/CMFCore/PortalContent.py:1.34.10.3 Thu Aug 1 15:07:55 2002
+++ CMF/CMFCore/PortalContent.py Tue Jun 3 10:59:45 2003
@@ -1,14 +1,14 @@
##############################################################################
#
# Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE
-#
+#
##############################################################################
""" PortalContent: Base class for all CMF content.
@@ -37,7 +37,7 @@
class ResourceLockedError( Exception ):
pass
-try:
+try:
from webdav.WriteLockInterface import WriteLockInterface
NoWL = 0
except ImportError:
@@ -47,13 +47,13 @@
class PortalContent(DynamicType, CMFCatalogAware, SimpleItem):
"""
Base class for portal objects.
-
+
Provides hooks for reviewing, indexing, and CMF UI.
Derived classes must implement the interface described in
interfaces/DublinCore.py.
"""
-
+
if not NoWL:
__implements__ = (WriteLockInterface, Contentish,)
else:
@@ -96,7 +96,7 @@
# indexed methods
# ---------------
-
+
security.declareProtected(View, 'SearchableText')
def SearchableText(self):
"Returns a concatination of all searchable text"