Skip to contentSkip to conversation

apitest - dbus.decorators.explicitly_pass_message is obsolete

PATCH New Daniel Gollub 1 participant 1 message May 4, 2007 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 apitest - dbus.decorators.explicitly_pass_message is obsolete

Hi,

apitest is broken with dbus python bindings in version 0.80.1. The call of dbus.decorators.explictly_pass_message is the problem. explicity_pass_message got removed from the dbus python bindings:

Date: Thu Dec 7 18:37:58 2006 +0000

dbus/decorators: Remove explicitly_pass_message

 dbus/decorators.py |   21 +--------------------
 1 files changed, 1 insertions(+), 20 deletions(-)

Fix attachted.

best regards,
Daniel

apitest +0 -2
@@ -179,7 +179,6 @@
         for cmd in dev_cmds:
             print '\t%s' % cmd
 
-    @dbus.decorators.explicitly_pass_message
     def dev_signal_handler(*args, **keywords):
         dbus_message = keywords["dbus_message"]
         print '%s - %s: ' % (dbus_message.get_member(), dbus_message.get_path()),
@@ -187,7 +186,6 @@
             print '%s   ' % arg,
         print
 
-    @dbus.decorators.explicitly_pass_message
     def mgr_signal_handler(*args, **keywords):
         dbus_message = keywords["dbus_message"]
         print '%s: ' % dbus_message.get_member()

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel