X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=PLC%2FPyCurl.py;h=9b42905c2f8fcd228f577b6fb79b30568cbfef6e;hb=c3928466e62ff762940eba6ec8c633cb4a5245b4;hp=8352fd0cd5e0956af794752219ec9641bd489204;hpb=a862007a170dc19ebe1079c61e9b4f1c4aba9206;p=plcapi.git diff --git a/PLC/PyCurl.py b/PLC/PyCurl.py index 8352fd0..9b42905 100644 --- a/PLC/PyCurl.py +++ b/PLC/PyCurl.py @@ -5,7 +5,7 @@ # Mark Huang # Copyright (C) 2006 The Trustees of Princeton University # -# $Id$ +# $Id: PyCurl.py,v 1.2 2007/09/12 17:52:27 tmack Exp $ # import os @@ -68,9 +68,9 @@ class PyCurlTransport(xmlrpclib.Transport): (errcode, errmsg) = err if errcode == 60: - raise Exception, "SSL certificate validation failed" + raise Exception, "PyCurl: SSL certificate validation failed" elif errcode != 200: - raise Exception, "HTTP error %d" % errcode + raise Exception, "PyCurl: HTTP error %d" % errcode # Parse response p, u = self.getparser()