Fix circular import
This commit is contained in:
parent
04140d9777
commit
f61debd2f4
@ -1,10 +1,10 @@
|
|||||||
from PyQt5.QtCore import QObject, pyqtSignal
|
from PyQt5.QtCore import QObject, pyqtSignal
|
||||||
import inspect, sys
|
import inspect, sys
|
||||||
import qutebrowser.commands.commands
|
|
||||||
|
|
||||||
cmd_dict = {}
|
cmd_dict = {}
|
||||||
|
|
||||||
def register_all():
|
def register_all():
|
||||||
|
import qutebrowser.commands.commands
|
||||||
def is_cmd(obj):
|
def is_cmd(obj):
|
||||||
return (inspect.isclass(obj) and
|
return (inspect.isclass(obj) and
|
||||||
obj.__module__ == 'qutebrowser.commands.commands')
|
obj.__module__ == 'qutebrowser.commands.commands')
|
||||||
|
Loading…
Reference in New Issue
Block a user