[CMF-checkins] CVS: CMF/CMFDefault/skins/zpt_content -
document_edit_control.py:1.2.2.1 newsitem_edit_control.py:1.2.2.1
Tres Seaver
tseaver at zope.com
Thu Apr 29 11:37:10 EDT 2004
Update of /cvs-repository/CMF/CMFDefault/skins/zpt_content
In directory cvs.zope.org:/tmp/cvs-serv17086/CMFDefault/skins/zpt_content
Modified Files:
Tag: tseaver-permissiongeddon-branch
document_edit_control.py newsitem_edit_control.py
Log Message:
- Enforced new "local permissions" pattern: each top-level CMF product
should have a 'permissions.py' module which imports / declares all
permissions used within the product; other modules within the product
should import from there. Likewise for 'exceptions.py'. CMFCorePermissions
delenda est!
=== CMF/CMFDefault/skins/zpt_content/document_edit_control.py 1.2 => 1.2.2.1 ===
--- CMF/CMFDefault/skins/zpt_content/document_edit_control.py:1.2 Thu Feb 5 09:45:37 2004
+++ CMF/CMFDefault/skins/zpt_content/document_edit_control.py Thu Apr 29 11:36:39 2004
@@ -8,10 +8,11 @@
##title=
##
from ZTUtils import make_query
-from Products.CMFCore.CMFCoreExceptions import EditingConflict
-from Products.CMFCore.CMFCoreExceptions import IllegalHTML
-from Products.CMFCore.CMFCoreExceptions import ResourceLockedError
+from Products.CMFDefault.exceptions import EditingConflict
+from Products.CMFDefault.exceptions import IllegalHTML
+from Products.CMFDefault.exceptions import ResourceLockedError
from Products.CMFDefault.utils import scrubHTML
+
message = ''
=== CMF/CMFDefault/skins/zpt_content/newsitem_edit_control.py 1.2 => 1.2.2.1 ===
--- CMF/CMFDefault/skins/zpt_content/newsitem_edit_control.py:1.2 Thu Feb 5 09:45:37 2004
+++ CMF/CMFDefault/skins/zpt_content/newsitem_edit_control.py Thu Apr 29 11:36:39 2004
@@ -8,9 +8,10 @@
##title=
##
from ZTUtils import make_query
-from Products.CMFCore.CMFCoreExceptions import IllegalHTML
-from Products.CMFCore.CMFCoreExceptions import ResourceLockedError
+from Products.CMFDefault.exceptions import IllegalHTML
+from Products.CMFDefault.exceptions import ResourceLockedError
from Products.CMFDefault.utils import scrubHTML
+
message = ''
More information about the CMF-checkins
mailing list