[Zope3-checkins]
SVN: Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/
- some fixes
Andreas Jung
andreas at andreas-jung.com
Sat Oct 8 04:26:11 EDT 2005
Log message for revision 38918:
- some fixes
- pdb removal
- removed unnecessary imports
Changed:
U Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/httpfactory.py
U Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/requestpublicationfactories.py
U Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/requestpublicationregistry.py
U Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/zopepublication.py
-=-
Modified: Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/httpfactory.py
===================================================================
--- Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/httpfactory.py 2005-10-08 08:08:30 UTC (rev 38917)
+++ Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/httpfactory.py 2005-10-08 08:26:11 UTC (rev 38918)
@@ -17,7 +17,7 @@
"""
__docformat__ = 'restructuredtext'
-from zope import component, interface
+from zope import interface
from zope.publisher.interfaces.browser import IBrowserRequest
Modified: Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/requestpublicationfactories.py
===================================================================
--- Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/requestpublicationfactories.py 2005-10-08 08:08:30 UTC (rev 38917)
+++ Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/requestpublicationfactories.py 2005-10-08 08:26:11 UTC (rev 38918)
@@ -21,8 +21,7 @@
from zope import component
from zope.interface import implements
-from zope.app.publication.http import BaseHTTPPublication
-from zope.app.publication.interfaces import IRequestPublicationFactory, ISOAPRequestFactory, ISOAPRequestFactory
+from zope.app.publication.interfaces import IRequestPublicationFactory
from zope.app.publication import interfaces
from zope.app.publication.soap import SOAPPublication
from zope.app.publication.xmlrpc import XMLRPCPublication
Modified: Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/requestpublicationregistry.py
===================================================================
--- Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/requestpublicationregistry.py 2005-10-08 08:08:30 UTC (rev 38917)
+++ Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/requestpublicationregistry.py 2005-10-08 08:26:11 UTC (rev 38918)
@@ -54,8 +54,8 @@
# Check if there is already a registered publisher factory (check by name).
# If yes then it will be removed and replaced by a new publisher.
for pos, d in enumerate(l):
- print pos,d, name
if d['name'] == name:
+ print 'deleting'
del l[pos]
break
# add the publisher factory + additional informations
Modified: Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/zopepublication.py
===================================================================
--- Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/zopepublication.py 2005-10-08 08:08:30 UTC (rev 38917)
+++ Zope3/branches/ajung-target-requestpublication-next-try-branch/src/zope/app/publication/zopepublication.py 2005-10-08 08:26:11 UTC (rev 38918)
@@ -26,7 +26,6 @@
from zope.event import notify
from zope.security.interfaces import Unauthorized
-from zope.component.exceptions import ComponentLookupError
from zope.interface import implements, providedBy
from zope.publisher.publish import mapply
from zope.publisher.interfaces import Retry, IExceptionSideEffects, IHeld
@@ -38,8 +37,6 @@
from zope.app import zapi
from zope.app.applicationcontrol.applicationcontrol \
import applicationControllerRoot
-from zope.app.component.hooks import getSite
-from zope.app.error.error import RootErrorReportingUtility
from zope.app.error.interfaces import IErrorReportingUtility
from zope.app.exception.interfaces import ISystemErrorView
from zope.app.location import LocationProxy
More information about the Zope3-Checkins
mailing list