Style fix.

This commit is contained in:
Florian Bruhin 2015-12-02 06:20:41 +01:00
parent 6e8ac374dd
commit eeadeb400c

View File

@ -900,8 +900,9 @@ class CommandDispatcher:
new_idx = self._current_index() - delta
elif direction == '+': # pragma: no branch
new_idx = self._current_index() + delta
if config.get('tabs', 'wrap'):
new_idx = new_idx % self._count()
new_idx %= self._count()
else: # pragma: no cover
raise ValueError("Invalid direction '{}'!".format(direction))