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:
|
try:
|
||||||
list = os.listdir(path)
|
list = os.listdir(path)
|
||||||
except os.error:
|
except os.error:
|
||||||
self.send_error(404, "No permission to list directory");
|
self.send_error(404, "No permission to list directory")
|
||||||
return None
|
return None
|
||||||
list.sort(lambda a, b: cmp(a.lower(), b.lower()))
|
list.sort(lambda a, b: cmp(a.lower(), b.lower()))
|
||||||
f = StringIO()
|
f = StringIO()
|
||||||
|
|
Loading…
Reference in New Issue