Skip to content

Commit

Permalink
coatils.py: Use else for default subcommand
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 6d07480 commit 528ec9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/coatils.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def contrib_stats(self, msg, match):
len(Coatils.all_langs())
)
# stats
elif stat_type == '' and entity == '':
else:
yield ('coala has {} bears across {} languages'
''.format(Coatils.total_bears(),
len(Coatils.all_langs())))
Expand Down

0 comments on commit 528ec9c

Please sign in to comment.