[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZMI - provideClass.py:1.1.2.12.4.3

Gary Poster garyposter@earthlink.net
Tue, 2 Apr 2002 11:53:11 -0500


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

Modified Files:
      Tag: gary-pre_create_views-branch
	provideClass.py 
Log Message:
fixed a few approaches to jibe with unit test assumptions


=== Zope3/lib/python/Zope/App/ZMI/provideClass.py 1.1.2.12.4.2 => 1.1.2.12.4.3 ===
         self._class = _class
 
-    def __call__(self, args=[], kwargs={}):
+    def __call__(self, *args, **kwargs):
         return self._class(*args, **kwargs)