mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Remove some errant trailing commas.
This commit is contained in:
parent
032271a030
commit
e6edcb454a
@ -588,7 +588,7 @@ class Arbiter(object):
|
|||||||
sys.stderr.flush()
|
sys.stderr.flush()
|
||||||
sys.exit(self.APP_LOAD_ERROR)
|
sys.exit(self.APP_LOAD_ERROR)
|
||||||
except:
|
except:
|
||||||
self.log.exception("Exception in worker process"),
|
self.log.exception("Exception in worker process")
|
||||||
if not worker.booted:
|
if not worker.booted:
|
||||||
sys.exit(self.WORKER_BOOT_ERROR)
|
sys.exit(self.WORKER_BOOT_ERROR)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
|
|||||||
@ -183,7 +183,7 @@ def create(req, sock, client, server, cfg):
|
|||||||
server = host.split(':')
|
server = host.split(':')
|
||||||
if len(server) == 1:
|
if len(server) == 1:
|
||||||
if url_scheme == "http":
|
if url_scheme == "http":
|
||||||
server.append(80),
|
server.append(80)
|
||||||
elif url_scheme == "https":
|
elif url_scheme == "https":
|
||||||
server.append(443)
|
server.append(443)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user