Merge pull request #828 from kived/master

Fix descriptor error from getattr in EventDispatcher
This commit is contained in:
Mathieu Virbel 2012-12-13 15:55:40 -08:00
commit 9f77e54dc7
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ cdef class EventDispatcher(object):
attrs_found = cp[__cls__] = {}
attrs = dir(__cls__)
for k in attrs:
uattr = getattr(__cls__, k)
uattr = getattr(__cls__, k, None)
if not isinstance(uattr, Property):
continue
if k == 'touch_down' or k == 'touch_move' or k == 'touch_up':