mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-23 06:50:37 -04:00
cli: move logger name comment to docstring
This commit is contained in:
parent
e141543667
commit
c6001d8799
1 changed files with 2 additions and 1 deletions
|
@ -112,8 +112,9 @@ def rethinker(args):
|
||||||
return doublethink.Rethinker(servers.split(","), db)
|
return doublethink.Rethinker(servers.split(","), db)
|
||||||
|
|
||||||
|
|
||||||
# Decorates the logger name with call location, if provided
|
|
||||||
def decorate_logger_name(a, b, event_dict):
|
def decorate_logger_name(a, b, event_dict):
|
||||||
|
"""Decorates the logger name with call location, if provided"""
|
||||||
|
|
||||||
old_name = event_dict.get("logger_name")
|
old_name = event_dict.get("logger_name")
|
||||||
if old_name is None:
|
if old_name is None:
|
||||||
return event_dict
|
return event_dict
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue