Cleaups per copilot PR review

log_sys_testing
Gud Boi 2026-02-11 21:51:40 -05:00
parent 5850844297
commit fa1a15dce8
2 changed files with 1 additions and 8 deletions

View File

@ -169,7 +169,7 @@ class UDSAddress(
# ?^TODO, for `multiaddr`'s parser we can't use the `::` # ?^TODO, for `multiaddr`'s parser we can't use the `::`
# above^, SO maybe a `.` or something else here? # above^, SO maybe a `.` or something else here?
# sockname: str = '.'.join(actor.uid) + f'@{pid}' # sockname: str = '.'.join(actor.uid) + f'@{pid}'
# -[ ] CURRETLY using `.` BREAKS TEST SUITE tho.. # -[ ] CURRENTLY using `.` BREAKS TEST SUITE tho..
else: else:
prefix: str = '<unknown-actor>' prefix: str = '<unknown-actor>'
if is_root_process(): if is_root_process():

View File

@ -416,9 +416,6 @@ def get_logger(
mod_ns_path: str = caller_mod.__name__ mod_ns_path: str = caller_mod.__name__
mod_pkg_ns_path: str = caller_mod.__package__ mod_pkg_ns_path: str = caller_mod.__package__
# if 'snakelib' in mod_pkg_ns_path:
# import pdbp
# breakpoint()
if ( if (
mod_pkg_ns_path in mod_ns_path mod_pkg_ns_path in mod_ns_path
or or
@ -491,10 +488,6 @@ def get_logger(
proper_name: str = name.removeprefix( proper_name: str = name.removeprefix(
f'{pkg_name}.' f'{pkg_name}.'
) )
# if 'pylib' in name:
# import pdbp
# breakpoint()
msg: str = ( msg: str = (
f'@ {get_caller_mod()}\n' f'@ {get_caller_mod()}\n'
f'Duplicate pkg-name in sub-logger `name`-key?\n' f'Duplicate pkg-name in sub-logger `name`-key?\n'