[Zope3-checkins] 
	SVN: Zope3/branches/stephan_and_jim-response-refactor/src/zope/publisher/http.py
	Added a dict call to work with Python 2.3.
    Jim Fulton 
    jim at zope.com
       
    Fri Sep  2 16:53:10 EDT 2005
    
    
  
Log message for revision 38257:
  Added a dict call to work with Python 2.3.
  
Changed:
  U   Zope3/branches/stephan_and_jim-response-refactor/src/zope/publisher/http.py
-=-
Modified: Zope3/branches/stephan_and_jim-response-refactor/src/zope/publisher/http.py
===================================================================
--- Zope3/branches/stephan_and_jim-response-refactor/src/zope/publisher/http.py	2005-09-02 20:53:07 UTC (rev 38256)
+++ Zope3/branches/stephan_and_jim-response-refactor/src/zope/publisher/http.py	2005-09-02 20:53:09 UTC (rev 38257)
@@ -697,7 +697,7 @@
             else:
                 raise TypeError('The result should be adaptable to IResult.')
         self.result = r
-        self._headers.update([(k, [v]) for (k, v) in r.headers])
+        self._headers.update(dict([(k, [v]) for (k, v) in r.headers]))
         if not self._status_set:
             self.setStatus(200)
 
    
    
More information about the Zope3-Checkins
mailing list