summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2008-03-18 00:52:39 +0100
committerGuillaume Seguin <guillaume@segu.in>2008-03-18 00:52:39 +0100
commita56e8610a430c2284f4f0fb3c87e95d0dd614281 (patch)
treea70618e733ba57a044938ea55e34ef3fc3ca80bf
parent3b6339529cc6a34ae5519d414f327de81781b855 (diff)
downloadenso_linux-a56e8610a430c2284f4f0fb3c87e95d0dd614281.tar.gz
enso_linux-a56e8610a430c2284f4f0fb3c87e95d0dd614281.tar.bz2
* Coding style fix
-rw-r--r--linux/enso_linux/input.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/linux/enso_linux/input.py b/linux/enso_linux/input.py
index 2a01461..f496b0e 100644
--- a/linux/enso_linux/input.py
+++ b/linux/enso_linux/input.py
@@ -159,7 +159,9 @@ class _KeyListener (Thread):
event = self.__display.next_event ()
self.__lock = True
gtk.gdk.threads_enter ()
- if hasattr (event,"detail") and event.detail == trigger_keycode and event.type in events:
+ if hasattr (event,"detail") \
+ and event.detail == trigger_keycode \
+ and event.type in events:
if self.__parent.getModality ():
continue
elif event.type == X.KeyPress: