Skip to content

Commit

Permalink
searchdocs.py: Use else for final option
Browse files Browse the repository at this point in the history
A default branch is needed to ensure branch coverage.

Related to coala#611
  • Loading branch information
jayvdb committed Aug 9, 2018
1 parent 528ec9c commit 741b706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/searchdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def search(self, msg, arg):
return (self.API_DOCS +
'/search.html?q=' +
'+'.join(re.split(r'\s+', search_string)))
elif doc_type.lower() == 'user':
else:
return (self.USER_DOCS +
'/search.html?q=' +
'+'.join(re.split(r'\s+', search_string)))

0 comments on commit 741b706

Please sign in to comment.