From 50040de9e7afc348e6a4a3fe123e69088c2c411d Mon Sep 17 00:00:00 2001 From: Willie Walker Date: Wed, 22 Apr 2009 10:00:40 -0400 Subject: [PATCH] Use parameter unpacking in call to DeviceEvent constructor. --- pyatspi/deviceevent.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyatspi/deviceevent.py b/pyatspi/deviceevent.py index 4b26ba8..e61d70b 100644 --- a/pyatspi/deviceevent.py +++ b/pyatspi/deviceevent.py @@ -536,10 +536,10 @@ class KeyboardDeviceEventListener(_service.Object): AT-SPI observers (False)? @rtype: boolean """ - # wrap the device event - event = DeviceEvent(ev) # TODO Find out where the exceptions are falling in to. try: + # wrap the device event + event = DeviceEvent(*ev) return self._registry.handleDeviceEvent(event, self) except Exception, e: import traceback -- 2.7.4