Skip to content

Commit

Permalink
Fix refactoring issues
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Compiler committed Nov 30, 2018
1 parent 536a7ef commit 9c4ebb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions qutebrowser/api/cmdutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
import inspect
import typing

from qutebrowser.misc import objects
from qutebrowser.utils import qtutils, log
from qutebrowser.utils import qtutils
from qutebrowser.commands import command, cmdexc


Expand Down
2 changes: 1 addition & 1 deletion qutebrowser/commands/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def takes_count(self):

def register(self):
"""Register this command in objects.commands."""
log.commands.vdebug( # type: ignore
log.commands.vdebug(
"Registering command {} (from {}:{})".format(
self.name, self.handler.__module__, self.handler.__qualname__))
if self.name in objects.commands:
Expand Down
2 changes: 1 addition & 1 deletion tests/end2end/features/misc.feature
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ Feature: Various utility commands.
# We can't use "When I open" because we don't want to wait for load
# finished
When I run :open http://localhost:(port)/redirect-later?delay=-1
And I wait for "emitting: cur_load_status_changed('loading') (tab *)" in the log
And I wait for "emitting: cur_load_status_changed(<LoadStatus.loading: *>) (tab *)" in the log
And I wait 1s
And I run :stop
And I open redirect-later-continue in a new tab
Expand Down

0 comments on commit 9c4ebb9

Please sign in to comment.