From e2ab1451cf4f5fb4b3ce6cb2e1598fab4a2f9eed Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 5 Sep 2000 04:49:50 +0000 Subject: The usual. --- Lib/dos-8x3/simpleht.py | 5 +++-- Lib/dos-8x3/sre_pars.py | 18 +++++++++--------- Lib/dos-8x3/test_mma.py | 3 +-- Lib/dos-8x3/test_pop.py | 23 ++++++++++++++++------- Lib/dos-8x3/webbrows.py | 4 +--- 5 files changed, 30 insertions(+), 23 deletions(-) diff --git a/Lib/dos-8x3/simpleht.py b/Lib/dos-8x3/simpleht.py index 8a77758..4cfedbc 100755 --- a/Lib/dos-8x3/simpleht.py +++ b/Lib/dos-8x3/simpleht.py @@ -6,7 +6,7 @@ and HEAD requests in a fairly straightforward manner. """ -__version__ = "0.4" +__version__ = "0.5" import os @@ -99,6 +99,7 @@ class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): return None list.sort(lambda a, b: cmp(a.lower(), b.lower())) f = StringIO() + f.write("Directory listing for %s\n" % self.path) f.write("

Directory listing for %s

\n" % self.path) f.write("
\n