From a15c8bcb49614f306362b5c9b90924db43d72082 Mon Sep 17 00:00:00 2001 From: Dolph Mathews Date: Tue, 15 Jul 2014 12:43:16 -0500 Subject: [PATCH] remove useless part of error message also did a bit of code cleanup for consistency Change-Id: I48832c36e1a8b5a0029598dc74aaeaa3b3d2a66f --- keystoneclient/exceptions.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/keystoneclient/exceptions.py b/keystoneclient/exceptions.py index f441daf4e..5ad84c07c 100644 --- a/keystoneclient/exceptions.py +++ b/keystoneclient/exceptions.py @@ -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)