diff --git a/python/rhn/transports.py b/python/rhn/transports.py index 00277b04c649..1fd6ad147545 100644 --- a/python/rhn/transports.py +++ b/python/rhn/transports.py @@ -261,7 +261,7 @@ def __init__(self, transfer=0, encoding=0, refreshCallback=None, def add_trusted_cert(self, certfile): if not os.access(certfile, os.R_OK): - raise ValueError("Certificate file %s is not accessible" % certfile) + raise ValueError("SafeTransport: Certificate file %s is not accessible" % certfile) self.trusted_certs.append(certfile) def get_connection(self, host): @@ -316,7 +316,7 @@ def __init__(self, proxy, proxyUsername=None, proxyPassword=None, def add_trusted_cert(self, certfile): if not os.access(certfile, os.R_OK): - raise ValueError("Certificate file %s is not accessible" % certfile) + raise ValueError("SafeProxyTransport:Certificate file %s is not accessible" % certfile) self.trusted_certs.append(certfile) def get_connection(self, host):