Hi,
Above is used in propertyHelperMixin and eventMixin.
string.uppercase and string.lowercase do no longer exist in Py3.
Any suggestion on how to replace this?
propertyHelperMixin:
for item in dir(c):
if item[0] in string.uppercase:
if item in c.__dict__:
if type(c.__dict__[item]) == property:
if propList.count(item) == 0:
propList.append(item)
eventMixin:
el = cls.getValidEvents()
el = [e.__name__ for e in el if e.__name__[0] in string.uppercase]
el.sort()
Werner
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/[email protected]