mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
typo
This commit is contained in:
parent
98b1fa5a27
commit
08594e6407
@ -111,7 +111,7 @@ def parse_syslog_address(addr):
|
|||||||
parts = addr.split("#", 1)
|
parts = addr.split("#", 1)
|
||||||
if len(parts) == 2:
|
if len(parts) == 2:
|
||||||
addr = parts[0]
|
addr = parts[0]
|
||||||
if part[1] == "dgram":
|
if parts[1] == "dgram":
|
||||||
sock_type = socket.SOCK_DGRAM
|
sock_type = socket.SOCK_DGRAM
|
||||||
|
|
||||||
return (sock_type, addr.split("unix://")[1])
|
return (sock_type, addr.split("unix://")[1])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user