[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/testing/functional.py Fixed broken link checker.

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Oct 29 05:06:37 EDT 2005


Log message for revision 39715:
  Fixed broken link checker.
  

Changed:
  U   Zope3/trunk/src/zope/app/testing/functional.py

-=-
Modified: Zope3/trunk/src/zope/app/testing/functional.py
===================================================================
--- Zope3/trunk/src/zope/app/testing/functional.py	2005-10-29 08:14:28 UTC (rev 39714)
+++ Zope3/trunk/src/zope/app/testing/functional.py	2005-10-29 09:06:37 UTC (rev 39715)
@@ -344,7 +344,7 @@
             elif not a.startswith('/'):
                 a = base + a
             if a.find('#') != -1:
-                a = a[:a.index('#') - 1]
+                a = a[:a.index('#')]
             # ??? what about queries (/path/to/foo?bar=baz&etc)?
             request = None
             try:



More information about the Zope3-Checkins mailing list