summaryrefslogtreecommitdiff
path: root/keystoneclient/exceptions.py
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2014-10-27 16:20:44 -0500
committerBrant Knudson <bknudson@us.ibm.com>2014-10-27 16:55:39 -0500
commit3b766c51438396a0ab0032de309c9d56e275e0cb (patch)
tree11a547f39d9aa2995d579f08e3de607fd33b765d /keystoneclient/exceptions.py
parent20f488d45ef010b9e15719a4ae238e087963a569 (diff)
downloadpython-keystoneclient-3b766c51438396a0ab0032de309c9d56e275e0cb.tar.gz
Correct use of noqa
The use of "#flake8: noqa" disables hacking checks for the entire file. Switched to use of "# noqa" and fixed hacking problems. Change-Id: I18785fb18bdce88e61e2451960e55aed0863c285
Diffstat (limited to 'keystoneclient/exceptions.py')
-rw-r--r--keystoneclient/exceptions.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/keystoneclient/exceptions.py b/keystoneclient/exceptions.py
index 5ad84c0..0370dd6 100644
--- a/keystoneclient/exceptions.py
+++ b/keystoneclient/exceptions.py
@@ -16,8 +16,7 @@
Exception definitions.
"""
-#flake8: noqa
-from keystoneclient.openstack.common.apiclient.exceptions import *
+from keystoneclient.openstack.common.apiclient.exceptions import * # noqa
# NOTE(akurilin): This alias should be left here to support backwards
# compatibility until we are sure that usage of these exceptions in
@@ -29,7 +28,7 @@ HTTPError = HttpError
class CertificateConfigError(Exception):
- """Error reading the certificate"""
+ """Error reading the certificate."""
def __init__(self, output):
self.output = output
msg = 'Unable to load certificate.'
@@ -37,7 +36,7 @@ class CertificateConfigError(Exception):
class CMSError(Exception):
- """Error reading the certificate"""
+ """Error reading the certificate."""
def __init__(self, output):
self.output = output
msg = 'Unable to sign or verify data.'
@@ -71,7 +70,8 @@ class MissingAuthPlugin(ClientException):
class NoMatchingPlugin(ClientException):
"""There were no auth plugins that could be created from the parameters
- provided."""
+ provided.
+ """
class InvalidResponse(ClientException):