Mercurial > hg
view templates/old/header.tmpl @ 5547:777996744942
patch: fix sort() comparator argument
'hg import' fails under Python 2.3. The name of the compare function parameter in the call to list.sort() is 'cmpfunc' in Python 2.3 and
'cmp' in Python 2.4+. Passing the compare function as a named parameter is therefore problematic.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sun, 25 Nov 2007 11:49:34 +0100 |
parents | fc34c031ff54 |
children | 3340aa5a64f7 e82dd2dd6276 |
line wrap: on
line source
Content-type: text/html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="icon" href="?static=hgicon.png" type="image/png"> <meta name="robots" content="index, nofollow" /> <link rel="stylesheet" href="?static=style.css" type="text/css" />