Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrrx committed Sep 15, 2018
1 parent f829de5 commit 2aa6f73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions clients/rospy/src/rospy/core.py
Expand Up @@ -159,10 +159,9 @@ def _base_logger(msg, args, kwargs, throttle=None,
throttle_identical=False, level=None, once=False):

rospy_logger = logging.getLogger('rosout')
name = kwargs.get('logger_name')
name = kwargs.pop('logger_name')
if name:
rospy_logger = rospy_logger.getChild(name)
del kwargs['logger_name']
logfunc = getattr(rospy_logger, level)

if once:
Expand Down

0 comments on commit 2aa6f73

Please sign in to comment.