mirror of https://github.com/python/cpython
unnecessary semicolon
This commit is contained in:
parent
a813153e15
commit
5b48c45736
|
@ -97,7 +97,7 @@ class SimpleHTTPRequestHandler(BaseHTTPServer.BaseHTTPRequestHandler):
|
|||
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()
|
||||
|
|
Loading…
Reference in New Issue