[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/publication/requestpublicationregistry.py
typos
Andreas Jung
andreas at andreas-jung.com
Wed Oct 12 07:10:04 EDT 2005
Log message for revision 39094:
typos
Changed:
U Zope3/trunk/src/zope/app/publication/requestpublicationregistry.py
-=-
Modified: Zope3/trunk/src/zope/app/publication/requestpublicationregistry.py
===================================================================
--- Zope3/trunk/src/zope/app/publication/requestpublicationregistry.py 2005-10-12 11:03:10 UTC (rev 39093)
+++ Zope3/trunk/src/zope/app/publication/requestpublicationregistry.py 2005-10-12 11:10:04 UTC (rev 39094)
@@ -24,7 +24,7 @@
class RequestPublicationRegistry(object):
""" The registry implements a three stage lookup for registred factories
- to deal with request.
+ that have to deal with requests.
{method > { mimetype -> [{'priority' : some_int,
'factory' : factory,
'name' : some_name }, ...
@@ -32,7 +32,7 @@
},
}
The 'priority' is used to define a lookup-order when multiple
- factories are registered for a given method and mime-type.
+ factories are registered for the same method and mime-type.
"""
implements(IRequestPublicationRegistry)
@@ -75,12 +75,12 @@
try:
return self._d[method][mimetype]
except:
- return None
+s return None
def lookup(self, method, mimetype, environment):
""" Lookup a factory for a given method+mimetype and a
- enviroment.
+ environment.
"""
factory_lst = self.getFactoriesFor(method, mimetype)
More information about the Zope3-Checkins
mailing list