mirror of https://github.com/kivy/kivy.git
Merge pull request #828 from kived/master
Fix descriptor error from getattr in EventDispatcher
This commit is contained in:
commit
9f77e54dc7
|
@ -52,7 +52,7 @@ cdef class EventDispatcher(object):
|
||||||
attrs_found = cp[__cls__] = {}
|
attrs_found = cp[__cls__] = {}
|
||||||
attrs = dir(__cls__)
|
attrs = dir(__cls__)
|
||||||
for k in attrs:
|
for k in attrs:
|
||||||
uattr = getattr(__cls__, k)
|
uattr = getattr(__cls__, k, None)
|
||||||
if not isinstance(uattr, Property):
|
if not isinstance(uattr, Property):
|
||||||
continue
|
continue
|
||||||
if k == 'touch_down' or k == 'touch_move' or k == 'touch_up':
|
if k == 'touch_down' or k == 'touch_move' or k == 'touch_up':
|
||||||
|
|
Loading…
Reference in New Issue