remove useless part of error message

also did a bit of code cleanup for consistency

Change-Id: I48832c36e1a8b5a0029598dc74aaeaa3b3d2a66f
This commit is contained in:
Dolph Mathews
2014-07-15 12:43:16 -05:00
parent 9fc3a0fd10
commit a15c8bcb49

View File

@@ -32,8 +32,7 @@ class CertificateConfigError(Exception):
"""Error reading the certificate""" """Error reading the certificate"""
def __init__(self, output): def __init__(self, output):
self.output = output self.output = output
msg = ("Unable to load certificate. " msg = 'Unable to load certificate.'
"Ensure your system is configured properly.")
super(CertificateConfigError, self).__init__(msg) super(CertificateConfigError, self).__init__(msg)
@@ -41,7 +40,7 @@ class CMSError(Exception):
"""Error reading the certificate""" """Error reading the certificate"""
def __init__(self, output): def __init__(self, output):
self.output = output self.output = output
msg = ("Unable to sign or verify data.") msg = 'Unable to sign or verify data.'
super(CMSError, self).__init__(msg) super(CMSError, self).__init__(msg)