remove useless part of error message
also did a bit of code cleanup for consistency Change-Id: I48832c36e1a8b5a0029598dc74aaeaa3b3d2a66f
This commit is contained in:
		@@ -32,8 +32,7 @@ class CertificateConfigError(Exception):
 | 
			
		||||
    """Error reading the certificate"""
 | 
			
		||||
    def __init__(self, output):
 | 
			
		||||
        self.output = output
 | 
			
		||||
        msg = ("Unable to load certificate. "
 | 
			
		||||
               "Ensure your system is configured properly.")
 | 
			
		||||
        msg = 'Unable to load certificate.'
 | 
			
		||||
        super(CertificateConfigError, self).__init__(msg)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -41,7 +40,7 @@ class CMSError(Exception):
 | 
			
		||||
    """Error reading the certificate"""
 | 
			
		||||
    def __init__(self, output):
 | 
			
		||||
        self.output = output
 | 
			
		||||
        msg = ("Unable to sign or verify data.")
 | 
			
		||||
        msg = 'Unable to sign or verify data.'
 | 
			
		||||
        super(CMSError, self).__init__(msg)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user