Commit 6734e949 authored by Michel Pelletier's avatar Michel Pelletier

Fixed *two* typos in the code.

  "I don't have time to test half of what I check in"
					-Jim Fulton
parent b5f0c39d
...@@ -84,8 +84,8 @@ ...@@ -84,8 +84,8 @@
############################################################################## ##############################################################################
__doc__='''Shared classes and functions __doc__='''Shared classes and functions
$Id: Aqueduct.py,v 1.35 1999/07/21 13:33:08 jim Exp $''' $Id: Aqueduct.py,v 1.36 1999/07/21 19:43:39 michel Exp $'''
__version__='$Revision: 1.35 $'[11:-2] __version__='$Revision: 1.36 $'[11:-2]
import Globals, os import Globals, os
from Globals import HTMLFile, Persistent from Globals import HTMLFile, Persistent
...@@ -419,7 +419,7 @@ def decapitate(html, RESPONSE=None, ...@@ -419,7 +419,7 @@ def decapitate(html, RESPONSE=None,
ts_results = header_re.match_group(html, (1,3)) ts_results = header_re.match_group(html, (1,3))
if not ts_results: return html if not ts_results: return html
headers, html = ts_reulsts[1] headers, html = ts_results[1]
headers=string.split(headers,'\n') headers=string.split(headers,'\n')
...@@ -429,7 +429,7 @@ def decapitate(html, RESPONSE=None, ...@@ -429,7 +429,7 @@ def decapitate(html, RESPONSE=None,
del headers[i] del headers[i]
else: else:
ts_results = space_re.match_group(headers[i], (1,)) ts_results = space_re.match_group(headers[i], (1,))
if ts_reults: if ts_results:
headers[i-1]="%s %s" % (headers[i-1], headers[i-1]="%s %s" % (headers[i-1],
headers[i][len(ts_reults[1]):]) headers[i][len(ts_reults[1]):])
del headers[i] del headers[i]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment