Commit f4b9196d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

Fix UnboundLocalError (remove an undefined variable).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23877 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8e52238c
......@@ -144,7 +144,7 @@ def sortValueList(value_list, sort_on=None, sort_order=None, **kw):
if result != 0:
break
return result
sort_kw = {'cmp':sortValues, 'reverse':reverse}
sort_kw = {'cmp':sortValues}
sort_kw_cache[sort_on] = sort_kw
if isinstance(value_list, LazyMap):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment