PATCH: config.py.patch



Applies to gnomeweb-plone/MainPage/config.py:
This patch removes the deprecated call to CMFCorePermissions and
replaces it with the new permissions module.

It's a 1 line change to revision 22 of the gnomeweb-plone svn module.

Thanks,
Christopher Warner
Index: config.py
===================================================================
--- config.py	(revision 22)
+++ config.py	(working copy)
@@ -37,9 +37,8 @@
 # AppConfig.py in your product's root directory. This will be included
 # in this file if found.
 
-from Products.CMFCore.CMFCorePermissions import setDefaultRoles
+from Products.CMFCore.permissions import setDefaultRoles
 
-
 PROJECTNAME = "MainPage"
 GLOBALS = globals()
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]