]> git.ipfire.org Git - thirdparty/babel.git/commit
pofile: Use `.sort(key=...)`, not `cmp`
authorAarni Koskela <akx@iki.fi>
Thu, 24 Dec 2015 18:06:28 +0000 (20:06 +0200)
committerAarni Koskela <akx@iki.fi>
Mon, 4 Jan 2016 21:21:14 +0000 (23:21 +0200)
commitedce8eeaa594e277d3abb29fb419cf6e4fefb52a
treec396836858fdc044fd831e6aece9f703ad56e067
parentbc59c9c64ed285888a1bd929d55abbb63212e95b
pofile: Use `.sort(key=...)`, not `cmp`

Fixes #79 (https://github.com/python-babel/babel/issues/79)
babel/messages/pofile.py
tests/messages/test_pofile.py