id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc	release
3760	NameError: global name 'sorted' is not defined on python 2.3	daniele.domenichelli@unige.it	cbalan	On python 2.3 sorted() is not defined.\r\n\r\nI got this error:\r\n\r\n{{{\r\nNameError: global name 'sorted' is not defined\r\n}}}\r\n\r\nHere is a fix\r\n\r\n{{{\r\n#!diff\r\nIndex: tracmenus/web_ui.py\r\n===================================================================\r\n--- tracmenus/web_ui.py_(revision 4293)\r\n+++ tracmenus/web_ui.py_(working copy)\r\n@@ -8,6 +8,7 @@\r\n from trac.web.chrome import add_script, add_stylesheet,ITemplateProvider\r\n from trac.config import ListOption\r\n from trac.util.html import html\r\n+from trac.util.compat import sorted\r\n \r\n \r\n class MenuManagerModule(Component):\r\n}}}\r\n	defect	closed	normal	MenusPlugin	major	fixed	python 2.3		0.11
