Fix lint
This commit is contained in:
parent
3a73f9f532
commit
cb2dd62dc5
@ -84,12 +84,14 @@ def debug_all_objects():
|
|||||||
s = QCoreApplication.instance().get_all_objects()
|
s = QCoreApplication.instance().get_all_objects()
|
||||||
log.misc.debug(s)
|
log.misc.debug(s)
|
||||||
|
|
||||||
|
|
||||||
@cmdutils.register(debug=True)
|
@cmdutils.register(debug=True)
|
||||||
def debug_cache_stats():
|
def debug_cache_stats():
|
||||||
"""Print config LRU cache stats."""
|
"""Print config LRU cache stats."""
|
||||||
info = config.instance().get.cache_info()
|
info = config.instance().get.cache_info()
|
||||||
log.misc.debug(info)
|
log.misc.debug(info)
|
||||||
|
|
||||||
|
|
||||||
def log_events(klass):
|
def log_events(klass):
|
||||||
"""Class decorator to log Qt events."""
|
"""Class decorator to log Qt events."""
|
||||||
old_event = klass.event
|
old_event = klass.event
|
||||||
|
Loading…
Reference in New Issue
Block a user