mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for reporting it/supplying a patch)
This commit is contained in:
parent
286d74764e
commit
8b6b53f8ac
1 changed files with 1 additions and 1 deletions
|
@ -589,7 +589,7 @@ class SysLogHandler(logging.Handler):
|
|||
except socket.error:
|
||||
self.socket.close()
|
||||
self.socket = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||
self.socket.connect(address)
|
||||
self.socket.connect(address)
|
||||
|
||||
# curious: when talking to the unix-domain '/dev/log' socket, a
|
||||
# zero-terminator seems to be required. this string is placed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue