Log message for revision 77005:
  Call setupCurrentSkin with REQUEST argument to shut up a deprecation warning.
  

Changed:
  U   Zope/trunk/lib/python/Testing/ZopeTestCase/PortalTestCase.py

-=-
Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/PortalTestCase.py
===================================================================
--- Zope/trunk/lib/python/Testing/ZopeTestCase/PortalTestCase.py        
2007-06-24 08:57:54 UTC (rev 77004)
+++ Zope/trunk/lib/python/Testing/ZopeTestCase/PortalTestCase.py        
2007-06-24 10:25:12 UTC (rev 77005)
@@ -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

Reply via email to