mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
unnecessary semicolon
This commit is contained in:
parent
a813153e15
commit
5b48c45736
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue