From 665b164618c40be47eda8da46b9a055fbd3b1a30 Mon Sep 17 00:00:00 2001 From: Jeremy Epstein Date: Fri, 28 Nov 2014 13:50:25 +1100 Subject: [PATCH] split docstring into multiple lines to make travis CI happy --- flask_security/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flask_security/utils.py b/flask_security/utils.py index b1996d8..3ec962c 100644 --- a/flask_security/utils.py +++ b/flask_security/utils.py @@ -189,7 +189,9 @@ def get_url(endpoint_or_url): def slash_url_suffix(url, suffix): - """Adds a slash either to the beginning or the end of a suffix (which is to be appended to a URL), depending on whether or not the URL ends with a slash.""" + """Adds a slash either to the beginning or the end of a suffix + (which is to be appended to a URL), depending on whether or not + the URL ends with a slash.""" return url.endswith('/') and ('%s/' % suffix) or ('/%s' % suffix)