rpms/python/FC-6 python-syslog-fail-noatexittb.patch, NONE, 1.1 python.spec, 1.91, 1.92 sources, 1.15, 1.16

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Apr 30 20:51:24 UTC 2007


Author: katzj

Update of /cvs/dist/rpms/python/FC-6
In directory cvs.devel.redhat.com:/tmp/cvs-serv24033

Modified Files:
	python.spec sources 
Added Files:
	python-syslog-fail-noatexittb.patch 
Log Message:
* Mon Apr 30 2007 Jeremy Katz <katzj at redhat.com>
- fix atexit handler with syslog logging (#237886)


python-syslog-fail-noatexittb.patch:
 handlers.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE python-syslog-fail-noatexittb.patch ---
--- Python-2.4.4/Lib/logging/handlers.py.syslogexit	2006-12-05 11:41:12.000000000 -0500
+++ Python-2.4.4/Lib/logging/handlers.py	2006-12-05 11:41:20.000000000 -0500
@@ -586,11 +586,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
 


Index: python.spec
===================================================================
RCS file: /cvs/dist/rpms/python/FC-6/python.spec,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- python.spec	23 Oct 2006 17:54:17 -0000	1.91
+++ python.spec	30 Apr 2007 20:51:22 -0000	1.92
@@ -45,6 +45,7 @@
 Patch17: python-2.4-webbrowser.patch
 Patch18: python-2.4.3-cflags.patch
 Patch19: python-2.4.3-locale.patch
+Patch20: python-syslog-fail-noatexittb.patch
 
 %if %{main_python}
 Obsoletes: Distutils
@@ -154,6 +155,7 @@
 %patch17 -p0 -b .web-browser
 %patch18 -p1 -b .cflags
 %patch19 -p2 -b .locale
+%patch20 -p1 -b .logatexit
 
 # This shouldn't be necesarry, but is right now (2.2a3)
 find -name "*~" |xargs rm -f
@@ -399,6 +401,12 @@
 %{_libdir}/python%{pybasever}/lib-dynload/_tkinter.so
 
 %changelog
+* Mon Apr 30 2007 Jeremy Katz <katzj at redhat.com>
+- fix atexit handler with syslog logging (#237886)
+
+* Sat Jan  6 2007 Jeremy Katz <katzj at redhat.com>
+- fix shm module for 64bit systems (#218778)
+
 * Mon Oct 23 2006 Jeremy Katz <katzj at redhat.com> - 2.4.4-1
 - update to 2.4.4
 


Index: sources
===================================================================
RCS file: /cvs/dist/rpms/python/FC-6/sources,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- sources	23 Oct 2006 17:54:17 -0000	1.15
+++ sources	30 Apr 2007 20:51:22 -0000	1.16
@@ -1,3 +1,2 @@
 e4f2ed866f4ce978fb54bb962eab4fdf  JapaneseCodecs-1.4.11.tar.gz
-141c683447d5e76be1d2bd4829574f02  Python-2.4.3.tar.bz2
 0ba90c79175c017101100ebf5978e906  Python-2.4.4.tar.bz2




More information about the fedora-cvs-commits mailing list