[Zope3-checkins] CVS: Zope3/src/zope/app/services - interface.py:1.4.6.1

Jim Fulton jim@zope.com
Fri, 2 May 2003 15:43:22 -0400


Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv8709/src/zope/app/services

Modified Files:
      Tag: interfacegeddon2-branch
	interface.py 
Log Message:
Merged interfacegeddon changes into second interfacegeddon branch in
preparation for the final merge.


=== Zope3/src/zope/app/services/interface.py 1.4 => 1.4.6.1 ===
--- Zope3/src/zope/app/services/interface.py:1.4	Thu May  1 15:35:34 2003
+++ Zope3/src/zope/app/services/interface.py	Fri May  2 15:42:51 2003
@@ -27,11 +27,11 @@
 
 class PersistentInterfaceWrapper(Wrapper):
 
-    def unwrap(self, bases, dict):
-        pi = PersistentInterfaceClass(self._obj.__name__, bases, {})
-        pi.__dict__.update(dict)
-        return pi
+    def unwrap(self):
+        return PersistentInterfaceClass(self._obj.__name__)
 
 def register():
     registerWrapper(InterfaceClass, PersistentInterfaceWrapper,
-                    lambda iface: (iface.__bases__, iface.__dict__))
+                    lambda iface: (),
+                    lambda iface: iface.__dict__,
+                    )