rpms/python-fedora/EL-5 python-fedora-el5.patch, NONE, 1.1 python-fedora.spec, 1.18, 1.19

Toshio くらとみ toshio at fedoraproject.org
Tue Feb 10 17:37:38 UTC 2009


Author: toshio

Update of /cvs/pkgs/rpms/python-fedora/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23955

Modified Files:
	python-fedora.spec 
Added Files:
	python-fedora-el5.patch 
Log Message:

* Mon Feb 10 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.9.1-2
- Another python-2.4 compatibility fix.


python-fedora-el5.patch:

--- NEW FILE python-fedora-el5.patch ---
=== modified file 'fedora/client/proxyclient.py'
--- fedora/client/proxyclient.py	2008-11-25 22:12:25 +0000
+++ fedora/client/proxyclient.py	2009-02-10 16:01:10 +0000
@@ -266,7 +266,7 @@
         elif http_status >= 400:
             try:
                 msg = httplib.responses[http_status]
-            except KeyError:
+            except (KeyError, AttributeError):
                 msg = 'Unknown HTTP Server Response'
             raise ServerError(url, http_status, msg)
 



Index: python-fedora.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-fedora/EL-5/python-fedora.spec,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- python-fedora.spec	9 Feb 2009 20:11:07 -0000	1.18
+++ python-fedora.spec	10 Feb 2009 17:37:08 -0000	1.19
@@ -2,13 +2,14 @@
 
 Name:           python-fedora
 Version:        0.3.9.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Python modules for talking to Fedora Infrastructure Services
 
 Group:          Development/Languages
 License:        GPLv2
 URL:            https://fedorahosted.org/python-fedora/
 Source0:        https://fedorahosted.org/releases/p/y/%{name}/%{name}-%{version}.tar.gz
+Patch0:         python-fedora-el5.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
@@ -38,6 +39,7 @@
 
 %prep
 %setup -q
+%patch0 -p0
 
 %build
 paver build
@@ -58,6 +60,9 @@
 %{python_sitelib}/*
 
 %changelog
+* Mon Feb 10 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.9.1-2
+- Another python-2.4 compatibility fix.
+
 * Mon Feb 9 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.9.1-1
 - Fix for python-2.4 compatibility
 




More information about the fedora-extras-commits mailing list