Fix some issues found by pylint
which were probably due to a borked merge
This commit is contained in:
parent
0bdc9676d2
commit
73d198561d
1 changed files with 3 additions and 3 deletions
|
@ -1099,8 +1099,8 @@ class Core:
|
||||||
|
|
||||||
for state in states:
|
for state in states:
|
||||||
for tab in tab_refs[state]:
|
for tab in tab_refs[state]:
|
||||||
if (tab.nb < self.tabs.current_tab_index and
|
if (tab.nb < self.tabs.current_index and
|
||||||
tab_refs[state][-1].nb > self.tabs.current_tab_index):
|
tab_refs[state][-1].nb > self.tabs.current_index):
|
||||||
continue
|
continue
|
||||||
self.command.win(str(tab.nb))
|
self.command.win(str(tab.nb))
|
||||||
return
|
return
|
||||||
|
@ -1113,7 +1113,7 @@ class Core:
|
||||||
else:
|
else:
|
||||||
tab = self.tabs.by_name_and_class(tab_name, type_)
|
tab = self.tabs.by_name_and_class(tab_name, type_)
|
||||||
if tab:
|
if tab:
|
||||||
self.command_win(str(tab.nb))
|
self.command.win(str(tab.nb))
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue