diff --git a/Lib/SimpleHTTPServer.py b/Lib/SimpleHTTPServer.py index 7bb12626732..9c87e66c2c9 100644 --- a/Lib/SimpleHTTPServer.py +++ b/Lib/SimpleHTTPServer.py @@ -97,7 +97,7 @@ def list_directory(self, path): try: list = os.listdir(path) except os.error: - self.send_error(404, "No permission to list directory"); + self.send_error(404, "No permission to list directory") return None list.sort(lambda a, b: cmp(a.lower(), b.lower())) f = StringIO()