Skip to content
Permalink
Browse files

Making pydocstyle happy.

  • Loading branch information
felixfontein committed Oct 17, 2016
1 parent 2348de0 commit ba16539b4b5362a8e1cc8aebb33e1ec06419b723
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/misc/taxonomies_classifier.py
@@ -213,7 +213,7 @@ def _postprocess_path(self, path, lang, always_append_index=False, force_extensi

@staticmethod
def _parse_path_result(result):
"""Helps interpreting the return values of taxonomy.get_path() and taxonomy.get_list_path()."""
"""Interpret the return values of taxonomy.get_path() and taxonomy.get_list_path() as if all three return values were given."""
if not isinstance(result[0], (list, tuple)):
# The result must be a list or tuple of strings. Wrap into a tuple
result = (result, )

0 comments on commit ba16539

Please sign in to comment.