extras-buildsys/common XMLRPCServerProxy.py,1.4,1.5
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Mon Jul 11 03:46:17 UTC 2005
Author: dcbw
Update of /cvs/fedora/extras-buildsys/common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21948/common
Modified Files:
XMLRPCServerProxy.py
Log Message:
Python 2.2 fixups
Index: XMLRPCServerProxy.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/common/XMLRPCServerProxy.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- XMLRPCServerProxy.py 10 Jul 2005 03:44:36 -0000 1.4
+++ XMLRPCServerProxy.py 11 Jul 2005 03:46:15 -0000 1.5
@@ -30,7 +30,11 @@
def make_connection(self, host):
# Handle username and password.
- host, extra_headers, x509 = self.get_host_info(host)
+ try:
+ host, extra_headers, x509 = self.get_host_info(host)
+ except AttributeError:
+ # Yay for Python 2.2
+ pass
_host, _port = urllib.splitport(host)
return SSLCommon.PlgHTTPS(_host, int(_port), ssl_context=self.ssl_ctx)
More information about the fedora-extras-commits
mailing list