Skip to content
Permalink
Browse files
Fix pydocstyle “warning”
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Apr 15, 2018
1 parent faf1a6f commit 861b4d7992c2026db8ee1bf1a1a7cf2d15e1b4f5
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/utils.py
@@ -1877,7 +1877,7 @@ def smartjoin(join_char: str, string_or_iterable) -> str:


def _smartjoin_filter(string_or_iterable, join_char: str) -> str:
"""A version of smartjoin that works as a Jinja filter (with reversed arguments)."""
"""Join stuff smartly, with reversed arguments for Jinja2 filters."""
# http://jinja.pocoo.org/docs/2.10/api/#custom-filters
return smartjoin(join_char, string_or_iterable)

0 comments on commit 861b4d7

Please sign in to comment.