PATCH: config.py.patch
- From: Christopher Warner <cwarner kernelcode com>
- To: gnome-web-list <gnome-web-list gnome org>
- Subject: PATCH: config.py.patch
- Date: Thu, 13 Dec 2007 12:12:31 -0500
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]