On 5/19/08, j^ <[EMAIL PROTECTED]> wrote: > looking a bit more at the code, the problem is in the test not in the cast. > i ran into this while trying to get LaunchMany to save its torrent state, > which fails here.
Your code should never call the test_bencode function, but I guess you mean that it fails because you are using an integer as the key in your saving. If that's the case, the solution is to cast it to a string yourself, and then (knowing that you did that), cast it back after bdecoding. -- bencode fails its own test https://bugs.launchpad.net/bugs/232033 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs