diff options
| author | Matt Riedemann <mriedem@us.ibm.com> | 2013-11-05 18:43:08 -0800 |
|---|---|---|
| committer | Matt Riedemann <mriedem@us.ibm.com> | 2013-11-06 07:19:42 -0800 |
| commit | c49b8beb831ae9399f072f9cce7e94cc64e92243 (patch) | |
| tree | 934f0dafa6a7859c5efad1de50eb7ee3ef13690b /migrate/changeset | |
| parent | 2485118c24b2293747dfafb3be58a6bdc65f7d66 (diff) | |
| download | sqlalchemy-migrate-0.8.tar.gz | |
Fix int overflow exception in unittest0.8
Fixes:
File ".../versioning/version.py", line 30, in __init__
if self < 0:
OverflowError: Python int too large to convert to C long
Don't use __cmp__ which is deprecated and restricted to C
long ints, rather than python's arbitrary precision ints.
Copied from Pádraig Brady's Fedora patch:
http://pkgs.fedoraproject.org/cgit/python-migrate.git/commit/?id=a01bf449
Co-authored-by: Pádraig Brady <pbrady@redhat.com>
Change-Id: I71f349f97507525b2f2edaf034005d67b6cc3987
Diffstat (limited to 'migrate/changeset')
0 files changed, 0 insertions, 0 deletions
