Python syntax error with D-BUS 0.34

Thomas Leonard tal at
Sat Jul 16 04:57:37 EST 2005

On Mon, 11 Jul 2005 10:55:41 -0700, Sean Meiners wrote:

> Since we're still using python 2.3 as well I found another solution:
> Change:
>     @method('org.freedesktop.DBus.Introspectable')
> To:
>     Introspect = method('org.freedesktop.DBus.Introspectable')(Introspect)
> Where Introspect is the name of the function being decorated.
> This way you can still use the service class if you like (removing the 
> decorator altogether breaks it).

That's a good idea. Any chance of this going in the main release, so that
projects using bus don't have to depend on Python 2.4 if they don't want

Dr Thomas Leonard
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1

More information about the dbus mailing list