From 016843ab58aa8fe37cdb3ef05c50388bf1ad4842 Mon Sep 17 00:00:00 2001 From: kgriffs Date: Mon, 7 Apr 2014 18:15:56 -0500 Subject: [PATCH] doc(errors): Fix pep8 "line too long" errors --- falcon/exceptions.py | 3 ++- falcon/http_error.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/falcon/exceptions.py b/falcon/exceptions.py index ce55290..c90e441 100644 --- a/falcon/exceptions.py +++ b/falcon/exceptions.py @@ -291,7 +291,8 @@ class HTTPBadGateway(HTTPError): """502 Bad Gateway Args: - title (str): Error title, for example: 'Upstream Server is Unavailable'. + title (str): Error title, for + example: 'Upstream Server is Unavailable'. description (str): Human-friendly description of the error, along with a helpful suggestion or two. kwargs (optional): Same as for ``HTTPError``. diff --git a/falcon/http_error.py b/falcon/http_error.py index 7311b9a..7914048 100644 --- a/falcon/http_error.py +++ b/falcon/http_error.py @@ -37,7 +37,8 @@ class HTTPError(Exception): title (str): Error title to send to the client. description (str): Description of the error to send to the client. headers (dict): Extra headers to add to the response. - link (str): An href that the client can provide to the user for getting help. + link (str): An href that the client can provide to the user for + getting help. code (int): An internal application code that a user can reference when requesting support for the error.