]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use correct Unix socket for syslogd on OS X.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 27 Apr 2011 13:31:55 +0000 (14:31 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Wed, 27 Apr 2011 13:31:55 +0000 (14:31 +0100)
Lib/test/test_logging.py

index 234d5ff142cf1026b16e6c48fa3cb5ec2a78b932..017e9f38dc5ba73ab85c036d8666d85c33404943 100644 (file)
@@ -528,7 +528,7 @@ class HandlerTest(BaseTest):
                 if existing:
                     os.unlink(fn)
             if sys.platform == 'darwin':
-                sockname = '/var/run/log'
+                sockname = '/var/run/syslog'
             else:
                 sockname = '/dev/log'
             try: