Module: deluge Branch: master Commit: bc165133d0da1636c2e86931f5a3c9983e7e84bd
Author: John Garland <[email protected]> Date: Thu Apr 8 00:41:48 2010 +1000 Fix get_torrent_status returning all keys when cache is outdated --- deluge/ui/sessionproxy.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/deluge/ui/sessionproxy.py b/deluge/ui/sessionproxy.py index 5cce250..441dfde 100644 --- a/deluge/ui/sessionproxy.py +++ b/deluge/ui/sessionproxy.py @@ -117,7 +117,7 @@ class SessionProxy(component.Component): def on_status(result, torrent_id): self.torrents[torrent_id][0] = time.time() self.torrents[torrent_id][1].update(result) - return self.torrents[torrent_id][1] + return result return d.addCallback(on_status, torrent_id) else: d = client.core.get_torrent_status(torrent_id, keys, True) -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.
