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
