[Zope-Checkins] CVS: Releases/Zope/lib/python/ZPublisher - HTTPRequest.py:1.81.2.6

Evan Simpson evan@zope.com
Fri, 14 Feb 2003 18:26:04 -0500


Update of /cvs-repository/Releases/Zope/lib/python/ZPublisher
In directory cvs.zope.org:/tmp/cvs-serv3346

Modified Files:
      Tag: Zope-2_6-branch
	HTTPRequest.py 
Log Message:
fix my fix :-(


=== Releases/Zope/lib/python/ZPublisher/HTTPRequest.py 1.81.2.5 => 1.81.2.6 ===
--- Releases/Zope/lib/python/ZPublisher/HTTPRequest.py:1.81.2.5	Fri Feb 14 17:56:30 2003
+++ Releases/Zope/lib/python/ZPublisher/HTTPRequest.py	Fri Feb 14 18:26:04 2003
@@ -1096,9 +1096,10 @@
                     path = [''] + path[:n]
                 else:
                     path = [other['SERVER_URL']] + path[:n]
+                URL = '/'.join(path)
                 if other.has_key('PUBLISHED'):
                     # Don't cache URLs until publishing traversal is done.
-                    other[key] = URL = '/'.join(path)
+                    other[key] = URL
                     self._urls = self._urls + (key,)
                 return URL
 
@@ -1128,9 +1129,10 @@
                     v.insert(0, '')
                 else:
                     v.insert(0, other['SERVER_URL'])
+                URL = '/'.join(v)
                 if other.has_key('PUBLISHED'):
                     # Don't cache URLs until publishing traversal is done.
-                    other[key] = URL = '/'.join(v)
+                    other[key] = URL
                     self._urls = self._urls + (key,)
                 return URL