[PATCH 15/17] dbus/bus.py: correct name of logger

John (J5) Palmieri johnp at redhat.com
Mon Apr 30 15:09:36 PDT 2007


Ship it!!!

On Mon, 2007-04-30 at 13:32 +0100, Simon McVittie wrote:
> diff --git a/dbus/bus.py b/dbus/bus.py
> index d981726..cbcb6ef 100644
> --- a/dbus/bus.py
> +++ b/dbus/bus.py
> @@ -33,6 +33,7 @@ from _dbus_bindings import validate_interface_name, validate_member_name,\
>                             HANDLER_RESULT_NOT_YET_HANDLED
>  from dbus.connection import Connection
>  
> +
>  _NAME_OWNER_CHANGE_MATCH = ("type='signal',sender='%s',"
>                              "interface='%s',member='NameOwnerChanged',"
>                              "path='%s',arg0='%%s'"
> @@ -41,8 +42,7 @@ _NAME_OWNER_CHANGE_MATCH = ("type='signal',sender='%s',"
>  """(_NAME_OWNER_CHANGE_MATCH % sender) matches relevant NameOwnerChange
>  messages"""
>  
> -
> -_logger = logging.getLogger('dbus.connection')
> +_logger = logging.getLogger('dbus.bus')
>  
> 
>  class BusConnection(Connection):
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus



More information about the dbus mailing list