[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/container/directory.py
Changed new style class declaration to inheriting object
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Jul 9 11:45:58 EDT 2004
Log message for revision 26325:
Changed new style class declaration to inheriting object
Converted XXX to statement.
-=-
Modified: Zope3/trunk/src/zope/app/container/directory.py
===================================================================
--- Zope3/trunk/src/zope/app/container/directory.py 2004-07-09 15:45:55 UTC (rev 26324)
+++ Zope3/trunk/src/zope/app/container/directory.py 2004-07-09 15:45:58 UTC (rev 26325)
@@ -23,21 +23,20 @@
$Id$
"""
-__metaclass__ = type
-
import zope.app.filerepresentation.interfaces
from zope.proxy import removeAllProxies
from zope.interface import implements
def noop(container):
- """XXX adapt an IContainer to an IWriteDirectory by just returning it
+ """Adapt an IContainer to an IWriteDirectory by just returning it
This "works" because IContainer and IWriteDirectory have the same
- methods, however, the output doesn't actually imlement IWriteDirectory.
+ methods, however, the output doesn't actually implement IWriteDirectory.
"""
return container
-class Cloner:
+
+class Cloner(object):
"""IContainer to IDirectoryFactory adapter that clones
This adapter provides a factory that creates a new empty container
More information about the Zope3-Checkins
mailing list