Univention Bugzilla – Bug 31122
Cleanup.univention-management-console-module-udm/umc/python/udm/syntax.py
Last modified: 2015-08-17 11:03:57 CEST
Created attachment 5180 [details] relative to svn40088 1. Break very long lines for readability 2. Use list comprehension instead of map() 3. Use 'value if test else value' instead of 'test and value or value' 4. Add documentation 5. Merge name and _widget_func to reduce invalid combinations: _widget_func() is only called when name is None, so name=None without _widget_func is invalid and _widget_func without name=None is silently ignored. 6. Fix re-definitions of global functions and variables TODO: Look at Widget.__contains__, is looks broken
*** This bug has been marked as a duplicate of bug 39041 ***