summaryrefslogtreecommitdiff
path: root/keystoneclient/exceptions.py
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2014-07-15 12:43:16 -0500
committerDolph Mathews <dolph.mathews@gmail.com>2014-07-15 12:43:25 -0500
commita15c8bcb49614f306362b5c9b90924db43d72082 (patch)
treee85afac1cfd9ed0fd757eb93a284cf71f46b93e0 /keystoneclient/exceptions.py
parent9fc3a0fd102993f9124978a2d47804f438cb55a1 (diff)
downloadpython-keystoneclient-a15c8bcb49614f306362b5c9b90924db43d72082.tar.gz
remove useless part of error message
also did a bit of code cleanup for consistency Change-Id: I48832c36e1a8b5a0029598dc74aaeaa3b3d2a66f
Diffstat (limited to 'keystoneclient/exceptions.py')
-rw-r--r--keystoneclient/exceptions.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/keystoneclient/exceptions.py b/keystoneclient/exceptions.py
index f441daf..5ad84c0 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)