Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pysamples/push_mouse_event.py
diff options
context:
space:
mode:
authorWalter Bender <walter@sugarlabs.org>2013-05-22 21:48:47 (GMT)
committer Walter Bender <walter@sugarlabs.org>2013-05-22 21:48:47 (GMT)
commit87b47c329bf60c336303f228e11ece571dbe91de (patch)
tree49ae3e0722afb420a8e237384c8f36ecf4fb6f04 /pysamples/push_mouse_event.py
parent51d0563b974f4daa7150410f66d1816c42780212 (diff)
pep8 and pyflakes cleanup
Diffstat (limited to 'pysamples/push_mouse_event.py')
-rw-r--r--pysamples/push_mouse_event.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pysamples/push_mouse_event.py b/pysamples/push_mouse_event.py
index b14315c..007c092 100644
--- a/pysamples/push_mouse_event.py
+++ b/pysamples/push_mouse_event.py
@@ -20,7 +20,7 @@ def myblock(tw, x): # ignore second argument
# push y first so x will be popped first
tw.lc.heap.append((tw.canvas.height / 2) - tw.mouse_y)
tw.lc.heap.append(tw.mouse_x - (tw.canvas.width / 2))
- tw.lc.heap.append(1) # mouse event
+ tw.lc.heap.append(1) # mouse event
tw.mouse_flag = 0
else:
- tw.lc.heap.append(0) # no mouse event
+ tw.lc.heap.append(0) # no mouse event