[Python-checkins] r52999 - python/branches/release24-maint/Lib/logging/handlers.py

vinay.sajip python-checkins at python.org
Mon Dec 11 15:09:52 CET 2006


Author: vinay.sajip
Date: Mon Dec 11 15:09:34 2006
New Revision: 52999
Modified:
 python/branches/release24-maint/Lib/logging/handlers.py
Log:
Patch by Jeremy Katz (SF #1609407)
Modified: python/branches/release24-maint/Lib/logging/handlers.py
==============================================================================
--- python/branches/release24-maint/Lib/logging/handlers.py	(original)
+++ python/branches/release24-maint/Lib/logging/handlers.py	Mon Dec 11 15:09:34 2006
@@ -574,11 +574,11 @@
 self.address = address
 self.facility = facility
 if type(address) == types.StringType:
- self._connect_unixsocket(address)
 self.unixsocket = 1
+ self._connect_unixsocket(address)
 else:
- self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
 self.unixsocket = 0
+ self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
 
 self.formatter = None
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /