summaryrefslogtreecommitdiff
path: root/heatclient/exc.py
diff options
context:
space:
mode:
authorAngus Salkeld <asalkeld@redhat.com>2013-05-20 14:08:03 +1000
committerAngus Salkeld <asalkeld@redhat.com>2013-05-20 14:08:03 +1000
commit2a08054f8ce5b1ed00085a269cd1a62a8a7164b7 (patch)
tree0b1f52036c7958ea91191898beb421bb6a871d20 /heatclient/exc.py
parentb343c1c22d1caa426d0afac1255ca92dcc72fa4b (diff)
downloadpython-heatclient-2a08054f8ce5b1ed00085a269cd1a62a8a7164b7.tar.gz
Fix some "H" pep errors
And be more specific about which ones we ignore. Change-Id: I69fd6897957e3dcb5939cf48651a0f1b41b711dd
Diffstat (limited to 'heatclient/exc.py')
-rw-r--r--heatclient/exc.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/heatclient/exc.py b/heatclient/exc.py
index 7d32bc1..c90b0fc 100644
--- a/heatclient/exc.py
+++ b/heatclient/exc.py
@@ -23,7 +23,7 @@ class BaseException(Exception):
class CommandError(BaseException):
- """Invalid usage of CLI"""
+ """Invalid usage of CLI."""
class InvalidEndpoint(BaseException):
@@ -35,7 +35,7 @@ class CommunicationError(BaseException):
class HTTPException(BaseException):
- """Base exception for all HTTP-derived exceptions"""
+ """Base exception for all HTTP-derived exceptions."""
code = 'N/A'
@@ -50,7 +50,7 @@ class HTTPMultipleChoices(HTTPException):
class BadRequest(HTTPException):
- """DEPRECATED"""
+ """DEPRECATED."""
code = 400
@@ -59,7 +59,7 @@ class HTTPBadRequest(BadRequest):
class Unauthorized(HTTPException):
- """DEPRECATED"""
+ """DEPRECATED."""
code = 401
@@ -68,7 +68,7 @@ class HTTPUnauthorized(Unauthorized):
class Forbidden(HTTPException):
- """DEPRECATED"""
+ """DEPRECATED."""
code = 403
@@ -77,7 +77,7 @@ class HTTPForbidden(Forbidden):
class NotFound(HTTPException):
- """DEPRECATED"""
+ """DEPRECATED."""
code = 404
@@ -90,7 +90,7 @@ class HTTPMethodNotAllowed(HTTPException):
class Conflict(HTTPException):
- """DEPRECATED"""
+ """DEPRECATED."""
code = 409
@@ -99,7 +99,7 @@ class HTTPConflict(Conflict):
class OverLimit(HTTPException):
- """DEPRECATED"""
+ """DEPRECATED."""
code = 413
@@ -120,7 +120,7 @@ class HTTPBadGateway(HTTPException):
class ServiceUnavailable(HTTPException):
- """DEPRECATED"""
+ """DEPRECATED."""
code = 503
@@ -145,10 +145,10 @@ def from_response(response, body_iter):
class NoTokenLookupException(Exception):
- """DEPRECATED"""
+ """DEPRECATED."""
pass
class EndpointNotFound(Exception):
- """DEPRECATED"""
+ """DEPRECATED."""
pass