[Zope3-checkins] CVS: Zope3/src/zope/app/services - module.py:1.9

Guido van Rossum guido@python.org
Mon, 2 Jun 2003 12:24:34 -0400


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

Modified Files:
	module.py 
Log Message:
remove() shouldn't take a source argument according to the interface.

Sadly there's no unit test that uses remove().


=== Zope3/src/zope/app/services/module.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/services/module.py:1.8	Sun Jun  1 11:59:36 2003
+++ Zope3/src/zope/app/services/module.py	Mon Jun  2 12:24:33 2003
@@ -95,9 +95,9 @@
         self._registry.setModuleService(getServiceManager(self))
         self._manager.update(source)
 
-    def remove(self, source):
+    def remove(self):
         self._registry.setModuleService(getServiceManager(self))
-        self._manager.remove(source)
+        self._manager.remove()
 
     new = ContextMethod(new)
     update = ContextMethod(update)