[Zope-Checkins] CVS: Zope/lib/python/App - ZopeComponents.py:1.1.2.2

Shane Hathaway shane@digicool.com
Thu, 27 Sep 2001 17:19:24 -0400


Update of /cvs-repository/Zope/lib/python/App
In directory cvs.zope.org:/tmp/cvs-serv6676

Modified Files:
      Tag: ComponentArchitecture-branch
	ZopeComponents.py 
Log Message:
Don't need createWithArguments().  getAction() still isn't right but it's
closer.


=== Zope/lib/python/App/ZopeComponents.py 1.1.2.1 => 1.1.2.2 ===
 class Adder (Interface.Base):
 
-    def createWithArguments(args):
-        """
-        """
-
     def addToContainer(ob):
         """
         """
@@ -68,7 +64,7 @@
         return self.permission
 
     def getAction(self):
-        return '(p)%s' % self.pres_name
+        return '(p)add/(p)%s' % self.pres_name
 
 
 class ClassicAdderEntry: