]> granicus.if.org Git - python/commitdiff
Fixed indentation bug in _connect_unixsocket (thanks to Ken Lalonde for reporting...
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 9 Nov 2005 13:55:13 +0000 (13:55 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 9 Nov 2005 13:55:13 +0000 (13:55 +0000)
Lib/logging/handlers.py

index 0ffbc4744aabf556e5393475fc6127617931bebe..1ec9afcdc3d0ad22d3c6698e2ef29a8d668e362a 100644 (file)
@@ -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