mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-10 00:50:04 +08:00
aa585b1cf8
Python 3 for some reason doesn't like usage of the cmp() built-in, so instead of using cmp(), just subtract the two ints being compared. In addition to making this work with Python 3, it should also be more performant since it no longer requires calling the cmp() method.