Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd3e4245

Browse files
rbccwstmcttThe-Compiler
authored andcommitted
Improved logging for configuration loading
- When loading a configuration file, if the configuration uses domain filtering then the domain filter expression is logged in the debug log.
1 parent3160048 commitd3e4245

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎qutebrowser/config/config.py‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,14 @@ def _set_value(self,
333333
pattern,hide_userconfig=hide_userconfig)
334334

335335
self.changed.emit(opt.name)
336-
log.config.debug("Config option changed: {} = {}".format(
337-
opt.name,value))
336+
337+
ifpatternisnotNone:
338+
log.config.debug("Config option changed: {} = {} for {}".format(
339+
opt.name,value,pattern))
340+
else:
341+
log.config.debug("Config option changed: {} = {}".format(
342+
opt.name,value))
343+
338344

339345
def_check_yaml(self,opt:'configdata.Option',save_yaml:bool)->None:
340346
"""Make sure the given option may be set in autoconfig.yml."""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp