[PATCH 05/17] dbus/bus.py: get BUS_DAEMON_NAME etc. from _dbus_bindings

John (J5) Palmieri johnp at redhat.com
Mon Apr 30 14:41:50 PDT 2007


Looks good.

On Mon, 2007-04-30 at 11:34 +0100, Simon McVittie wrote:
> diff --git a/dbus/bus.py b/dbus/bus.py
> index 053666d..070409e 100644
> --- a/dbus/bus.py
> +++ b/dbus/bus.py
> @@ -18,13 +18,10 @@
>  # along with this program; if not, write to the Free Software
>  # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
>  
> -BUS_DAEMON_NAME = 'org.freedesktop.DBus'
> -BUS_DAEMON_PATH = '/org/freedesktop/DBus'
> -BUS_DAEMON_IFACE = BUS_DAEMON_NAME
> -
>  from _dbus_bindings import validate_interface_name, validate_member_name,\
>                             validate_bus_name, validate_object_path,\
> -                           validate_error_name
> +                           validate_error_name,\
> +                           BUS_DAEMON_NAME, BUS_DAEMON_PATH, BUS_DAEMON_IFACE
>  
> 
>  class _BusDaemonMixin(object):
> _______________________________________________
> dbus mailing list
> dbus at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/dbus
-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list