Merged
Conversation
…stead if the error is -506, else raise the error
Contributor
|
If it has been deprecated in 0.9.0, why not just update the call to use multicall2 instead of a try-catch? I find it very hard to believe anyone is using such an old version and they should be upgrading anyway. |
Contributor
Author
|
I was trying to preserve functionality for older versions of rTorrent, however as v0.9 was released in 2011, I'll just make it call |
v0.9 was released in 2011, keeping support for `d.multicall` is useless
Contributor
|
I assume you've tested that it works? |
Contributor
Author
|
Yeah. I've actually been just fixing it manually for the last few weeks
when I update and decided it was time.
…On Tue, Nov 13, 2018, 1:28 AM Claus Vium ***@***.***> wrote:
I assume you've tested that it works?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2250 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB0QvBRvEhkCC0EHl1wXTuhK6BX5ONaHks5uumajgaJpZM4YaPp8>
.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for changes:
As described in #2239, starting with rTorrent v0.9.7. I was mistaken as to when these were taken out. They were depreciated as of v0.9.0, and then finally removed in v0.9.7.
Detailed changes:
d.multicallin a try/except catching a faultd.multicall2which has a slightly different definitionAddressed issues:
Log and/or tests output (preferably both):
Line 4 here in this log. For reference, I am on rTorrent v0.9.7.