Skip to content

Commit ce74a1d

Browse files
quotes
1 parent 5069b8e commit ce74a1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/keboola/component/interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def filter(self, rec):
170170
# Remove only handlers previously installed by keboola.component, leaving
171171
# any external handlers (e.g. test infrastructure) untouched.
172172
for h in list(root.handlers):
173-
if getattr(h, '_keboola_owned', False):
173+
if getattr(h, "_keboola_owned", False):
174174
root.removeHandler(h)
175175
root.addHandler(hd1)
176176
root.addHandler(hd2)
@@ -199,7 +199,7 @@ def set_gelf_logger(
199199
# Remove only handlers previously installed by keboola.component.
200200
root = logging.getLogger()
201201
for h in list(root.handlers):
202-
if getattr(h, '_keboola_owned', False):
202+
if getattr(h, "_keboola_owned", False):
203203
root.removeHandler(h)
204204
if stdout:
205205
CommonInterface.set_default_logger(log_level)

0 commit comments

Comments
 (0)