[CMF-checkins] CVS: CMF/CMFWiki - CMFWikiPage.py:1.27
Florent Guillaume
fg@nuxeo.com
Sat, 3 Aug 2002 23:51:57 -0400
Update of /cvs-repository/CMF/CMFWiki
In directory cvs.zope.org:/tmp/cvs-serv1625/CMFWiki
Modified Files:
CMFWikiPage.py
Log Message:
Code cleanup:
Use declarative security instead of __ac_permissions__.
Use InitializeClass instead of default__class_init__.
Use AddPortalContent instead of ADD_CONTENT_PERMISSION.
Use AddPortalFolders instead of ADD_FOLDERS_PERMISSION.
=== CMF/CMFWiki/CMFWikiPage.py 1.26 => 1.27 ===
from types import *
import string, re, os
-from Globals import HTMLFile, default__class_init__, package_home
+from Globals import InitializeClass, package_home
from OFS.DTMLDocument import DTMLDocument
from OFS.Image import cookId
from urllib import quote, unquote # url quoting
@@ -1413,7 +1413,7 @@
state['lastend'] = after
return newinpre or newincode or newintag
-default__class_init__(CMFWikiPage)
+InitializeClass(CMFWikiPage)
class WikiNesting(Acquisition.Implicit):