]> arthur.barton.de Git - bup.git/commit
On python 2.4 on MacOS X, __len__() must return an int.
authorAvery Pennarun <apenwarr@gmail.com>
Thu, 4 Feb 2010 23:56:01 +0000 (18:56 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Thu, 4 Feb 2010 23:56:01 +0000 (18:56 -0500)
commitea8b66b0f465a48109211adbae23798e7148cbf5
tree85439905e3b1e6064cb893d089cfcdb359fe925b
parent2658037b7b528609e2110d3f2773d7d705a7b42a
On python 2.4 on MacOS X, __len__() must return an int.

We were already returning integers, which seem to be "long ints" in this
case, even though they're relatively small.  Whatever, we'll typecast them
to int first, and now unit tests pass.
git.py
index.py