From: pin Date: Tue, 18 May 2010 13:30:02 +0000 (+0000) Subject: cleanup. X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/commitdiff_plain/c1e30c524491e100b05e21c33680dece33be44d5?ds=sidebyside;hp=8a421d33328f7dd6d6bff38cc04f53cdf25de3a9 cleanup. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@168 fe552daf-6dbe-4428-90eb-1537e0879342 --- diff --git a/src/pywiiuse/pygame_wiimote.py b/src/pywiiuse/pygame_wiimote.py index 5540430..1750549 100755 --- a/src/pywiiuse/pygame_wiimote.py +++ b/src/pywiiuse/pygame_wiimote.py @@ -71,11 +71,6 @@ class wiimote_thread(Thread): self.event_cb(m) except : pass - - #try: - # wiiuse.poll(self.wiimotes, self.nmotes) - #except: - # pass # allow executing functions in this thread while True: @@ -83,7 +78,6 @@ class wiimote_thread(Thread): func, args = self.queue.get_nowait() except Empty: break - print 'do:', func.__name__, args func(*args) def do(self, func, *args):