merge changes from HEAD
[plcapi.git] / PLC / PyCurl.py
index 8352fd0..9b42905 100644 (file)
@@ -5,7 +5,7 @@
 # Mark Huang <mlhuang@cs.princeton.edu>
 # 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()