[Zope3-checkins] CVS: Zope3/src/zope/configuration - metaconfigure.py:1.4 action.py:NONE

Philipp von Weitershausen philikon at philikon.de
Sun Aug 17 03:22:30 EDT 2003


Update of /cvs-repository/Zope3/src/zope/configuration
In directory cvs.zope.org:/tmp/cvs-serv12842

Modified Files:
	metaconfigure.py 
Removed Files:
	action.py 
Log Message:
Death to Action.


=== Zope3/src/zope/configuration/metaconfigure.py 1.3 => 1.4 ===
--- Zope3/src/zope/configuration/metaconfigure.py:1.3	Sun May 18 14:06:44 2003
+++ Zope3/src/zope/configuration/metaconfigure.py	Sun Aug 17 02:22:25 2003
@@ -14,7 +14,6 @@
 """
 $Id$
 """
-from zope.configuration.action import Action
 
 def hook(_context, name, implementation, module=None):
     if module:
@@ -24,10 +23,8 @@
     if sethook is None:
         raise TypeError(name,'is not hookable')
     implementation = _context.resolve(implementation)
-    return [
-        Action(
-            discriminator=('http://namespaces.zope.org/zope/hook', name),
-            callable=sethook,
-            args=(implementation, )
-            )
-        ]
+    _context.action(
+        discriminator=('http://namespaces.zope.org/zope/hook', name),
+        callable=sethook,
+        args=(implementation, )
+        )

=== Removed File Zope3/src/zope/configuration/action.py ===




More information about the Zope3-Checkins mailing list