[Zope3-checkins] CVS: Zope3/src/zope/app/services - interface.py:1.9
Fred L. Drake, Jr.
fred@zope.com
Wed, 25 Jun 2003 11:28:11 -0400
Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv4275/services
Modified Files:
interface.py
Log Message:
Merged from fdrake-zconfig-in-zope-3-branch:
Remove extra code used to call registerWrapper(); just call it.
=== Zope3/src/zope/app/services/interface.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/services/interface.py:1.8 Tue Jun 24 11:38:04 2003
+++ Zope3/src/zope/app/services/interface.py Wed Jun 25 11:27:41 2003
@@ -42,11 +42,12 @@
def unwrap(self):
return PersistentInterfaceClass(self._obj.__name__)
-def register(): # XXX has been refactored on a branch
- registerWrapper(InterfaceClass, PersistentInterfaceWrapper,
- lambda iface: (),
- lambda iface: iface.__dict__,
- )
+
+registerWrapper(InterfaceClass, PersistentInterfaceWrapper,
+ lambda iface: (),
+ lambda iface: iface.__dict__,
+ )
+
class LocalInterfaceService(object):
"""I need a doc string."""