[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/site/browser/__init__.py
When we need to generalize something here,
then we will do it. No need
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Jul 8 16:06:08 EDT 2004
Log message for revision 26229:
When we need to generalize something here, then we will do it. No need
to leave a XXX here. (Besides, I don't understand completely what wants
to be
generalized.)
-=-
Modified: Zope3/trunk/src/zope/app/site/browser/__init__.py
===================================================================
--- Zope3/trunk/src/zope/app/site/browser/__init__.py 2004-07-08 19:50:17 UTC (rev 26228)
+++ Zope3/trunk/src/zope/app/site/browser/__init__.py 2004-07-08 20:06:08 UTC (rev 26229)
@@ -111,7 +111,6 @@
def add(self, content):
# Override so as to check the type of the new object.
- # XXX This wants to be generalized!
if not ILocalService.providedBy(content):
raise TypeError("%s is not a local service" % content)
@@ -148,7 +147,6 @@
def add(self, content):
# Override so as to check the type of the new object.
- # XXX This wants to be generalized!
if not ILocalUtility.providedBy(content):
raise TypeError("%s is not a local utility" % content)
return super(UtilityAdding, self).add(content)
More information about the Zope3-Checkins
mailing list