[Checkins] SVN: zope.app.exception/trunk/ Use new ``zope.authentication`` instead of ``zope.app.security``.

Dan Korostelev nadako at gmail.com
Sat Mar 14 14:16:54 EDT 2009


Log message for revision 98108:
  Use new ``zope.authentication`` instead of ``zope.app.security``.
  Remove old zpkg-related SETUP.cfg file.
  

Changed:
  U   zope.app.exception/trunk/CHANGES.txt
  D   zope.app.exception/trunk/src/zope/app/exception/browser/SETUP.cfg
  U   zope.app.exception/trunk/src/zope/app/exception/browser/tests/test_unauthorized.py
  U   zope.app.exception/trunk/src/zope/app/exception/browser/unauthorized.py

-=-
Modified: zope.app.exception/trunk/CHANGES.txt
===================================================================
--- zope.app.exception/trunk/CHANGES.txt	2009-03-14 17:56:45 UTC (rev 98107)
+++ zope.app.exception/trunk/CHANGES.txt	2009-03-14 18:16:54 UTC (rev 98108)
@@ -5,8 +5,11 @@
 3.4.3 (unreleased)
 ------------------
 
+- Use new ``zope.authentication`` instead of ``zope.app.security``.
+
 - Remove deprecated code and thus remove dependency on zope.deferredimport.
 
+- Remove old zpkg-related SETUP.cfg file.
 
 3.4.2 (2009-01-27)
 ------------------

Deleted: zope.app.exception/trunk/src/zope/app/exception/browser/SETUP.cfg
===================================================================
--- zope.app.exception/trunk/src/zope/app/exception/browser/SETUP.cfg	2009-03-14 17:56:45 UTC (rev 98107)
+++ zope.app.exception/trunk/src/zope/app/exception/browser/SETUP.cfg	2009-03-14 18:16:54 UTC (rev 98108)
@@ -1,5 +0,0 @@
-# Tell zpkg how to install the ZCML slugs.
-
-<data-files zopeskel/etc/package-includes>
-  exception-ftesting.zcml
-</data-files>

Modified: zope.app.exception/trunk/src/zope/app/exception/browser/tests/test_unauthorized.py
===================================================================
--- zope.app.exception/trunk/src/zope/app/exception/browser/tests/test_unauthorized.py	2009-03-14 17:56:45 UTC (rev 98107)
+++ zope.app.exception/trunk/src/zope/app/exception/browser/tests/test_unauthorized.py	2009-03-14 18:16:54 UTC (rev 98108)
@@ -19,8 +19,9 @@
 from zope import component, interface
 import zope.formlib.namedtemplate
 from zope.publisher.browser import TestRequest
+from zope.authentication.interfaces import IAuthentication
+from zope.security.interfaces import IPrincipal
 from zope.app.testing import ztapi
-from zope.app.security.interfaces import IAuthentication, IPrincipal
 from zope.app.exception.browser.unauthorized import Unauthorized
 from zope.app.testing.placelesssetup import PlacelessSetup
 

Modified: zope.app.exception/trunk/src/zope/app/exception/browser/unauthorized.py
===================================================================
--- zope.app.exception/trunk/src/zope/app/exception/browser/unauthorized.py	2009-03-14 17:56:45 UTC (rev 98107)
+++ zope.app.exception/trunk/src/zope/app/exception/browser/unauthorized.py	2009-03-14 18:16:54 UTC (rev 98108)
@@ -17,11 +17,11 @@
 """
 __docformat__ = 'restructuredtext'
 
+from zope.authentication.interfaces import IAuthentication
 from zope.publisher.browser import BrowserPage
 from zope.formlib import namedtemplate
 from zope.component import getUtility
 from zope.app.pagetemplate import ViewPageTemplateFile
-from zope.app.security.interfaces import IAuthentication
 
 class Unauthorized(BrowserPage):
 



More information about the Checkins mailing list