changeset 1440:f127f9e09608

*bangs head on keybord* die, py2.3, die!
author Franz Pletz <fpletz AT franz-pletz DOT org>
date Mon, 21 Aug 2006 12:20:23 +0200
parents 4fc836cd3ba7
children 05482b439f89
files MoinMoin/support/__init__.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/support/__init__.py	Mon Aug 21 12:15:22 2006 +0200
+++ b/MoinMoin/support/__init__.py	Mon Aug 21 12:20:23 2006 +0200
@@ -18,9 +18,8 @@
         l = l[:]
         # py2.3 is a bit different
         if 'cmp' in kw:
-            kw['cmpfunc'] = kw['cmp']
-            del kw['cmp']
+            args = (kw['cmp'], )
 
-        l.sort(*args, **kw)
+        l.sort(*args)
         return l