projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4402c1
)
Use parameter unpacking in call to DeviceEvent constructor.
author
Willie Walker
<william.walker@sun.com>
Wed, 22 Apr 2009 14:00:40 +0000
(10:00 -0400)
committer
Willie Walker
<william.walker@sun.com>
Wed, 22 Apr 2009 14:00:40 +0000
(10:00 -0400)
pyatspi/deviceevent.py
patch
|
blob
|
history
diff --git
a/pyatspi/deviceevent.py
b/pyatspi/deviceevent.py
index
4b26ba8
..
e61d70b
100644
(file)
--- 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