Log message for revision 77006: Call setupCurrentSkin with REQUEST argument to shut up a deprecation warning.
Changed: U Zope/branches/2.10/lib/python/Testing/ZopeTestCase/PortalTestCase.py -=- Modified: Zope/branches/2.10/lib/python/Testing/ZopeTestCase/PortalTestCase.py =================================================================== --- Zope/branches/2.10/lib/python/Testing/ZopeTestCase/PortalTestCase.py 2007-06-24 10:25:12 UTC (rev 77005) +++ Zope/branches/2.10/lib/python/Testing/ZopeTestCase/PortalTestCase.py 2007-06-24 10:25:28 UTC (rev 77006) @@ -100,7 +100,10 @@ self.portal.clearCurrentSkin() else: # CMF 1.4 self.portal._v_skindata = None - self.portal.setupCurrentSkin() + try: + self.portal.setupCurrentSkin(self.app.REQUEST) + except TypeError: + self.portal.setupCurrentSkin() # Portal interface _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins