[pyatspi2/mgorse] Fix the kwargs addition in the D-Bus proxy class for python 2.5 & earlier.



commit 7152fd5cb5303f917efcc01c6bd1510527d78554
Author: Mark Doffman <mark doffman codethink co uk>
Date:   Mon Nov 2 16:19:53 2009 +0000

    Fix the kwargs addition in the D-Bus proxy class for python 2.5 & earlier.

 pyatspi/loop.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pyatspi/loop.py b/pyatspi/loop.py
index fb19e2a..3205103 100644
--- a/pyatspi/loop.py
+++ b/pyatspi/loop.py
@@ -62,9 +62,9 @@ class GObjectProxy (dbus.connection.ProxyObject):
                         loop.quit ()
                 
                 def dbus_method_func (*iargs, **ikwargs):
-                        method (*iargs,
-                                reply_handler=method_reply_callback,
+                        method (reply_handler=method_reply_callback,
                                 error_handler=method_error_callback,
+                                *iargs,
                                 **ikwargs)
 
                         loop.run()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]