Author: jmorliaguet
Date: Fri Apr 28 07:35:44 2006
New Revision: 2976

Modified:
   cpsskins/branches/paris-sprint-2006/browser/rendering/renderer.py
   cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/views.py
Log:

- the 'debug' attribute is no longer needed
  (cf http://mail.zope.org/pipermail/zope-dev/2006-April/027408.html)



Modified: cpsskins/branches/paris-sprint-2006/browser/rendering/renderer.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/browser/rendering/renderer.py   
(original)
+++ cpsskins/branches/paris-sprint-2006/browser/rendering/renderer.py   Fri Apr 
28 07:35:44 2006
@@ -169,11 +169,6 @@
         self.context = context
         self.request = request
 
-        try:
-            request.debug
-        except AttributeError:
-            request.debug = {}
-
     def setTemplate(self, template):
         self.template = template
 

Modified: cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/views.py
==============================================================================
--- cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/views.py 
(original)
+++ cpsskins/branches/paris-sprint-2006/ui/screens/sitemanager/views.py Fri Apr 
28 07:35:44 2006
@@ -261,12 +261,6 @@
         context = self.context
         request = self.request
 
-        # FIXME: zope2 compatibility
-        try:
-            request.debug
-        except AttributeError:
-            request.debug = {}
-
         xml = u''
         for theme in getThemeManager(context).getThemes():
             exporter = getMultiAdapter((theme, request), IDataExporter)
-- 
http://lists.nuxeo.com/mailman/listinfo/z3lab-checkins

Reply via email to