Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yunstanford committed May 10, 2019
1 parent d4ef151 commit bd89c7f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sanic/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,8 @@ def remove_route(self, uri, clean_cache=True, host=None):
existing route can be removed from the :class:`Sanic` object
.. warning::
remove_route is deprecated in v19.06 and will be removed from future versions.
remove_route is deprecated in v19.06 and will be removed
from future versions.
:param uri: URL Path to be removed from the app
:param clean_cache: Instruct sanic if it needs to clean up the LRU
Expand All @@ -565,7 +566,8 @@ def remove_route(self, uri, clean_cache=True, host=None):
:return: None
"""
warnings.warn(
"remove_route is deprecated and will be removed from future versions.",
"remove_route is deprecated and will be removed "
"from future versions.",
DeprecationWarning,
stacklevel=2,
)
Expand Down

0 comments on commit bd89c7f

Please sign in to comment.