diff options
author | bendikro <bendikro@gmail.com> | 2013-01-16 00:08:00 +0100 |
---|---|---|
committer | bendikro <bendikro@gmail.com> | 2013-01-16 00:08:00 +0100 |
commit | fbeea9159e35269fff7c6a30bb26bc5606eb7564 (patch) | |
tree | 60e7a8717868e00d6406f7af8662e43683d5bf4b | |
parent | 0f67dc168b03b2bed661e8a75b67c033070072a0 (diff) | |
download | deluge-fbeea9159e35269fff7c6a30bb26bc5606eb7564.tar.gz deluge-fbeea9159e35269fff7c6a30bb26bc5606eb7564.tar.bz2 deluge-fbeea9159e35269fff7c6a30bb26bc5606eb7564.zip |
Removed debug print
-rw-r--r-- | deluge/core/torrentmanager.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index 1b86be2ce..45274e699 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -1158,9 +1158,8 @@ class TorrentManager(component.Component): # Get the torrent status for each torrent_id for torrent_id in torrent_ids: if not torrent_id in self.torrents: - # This happens sometimes, but why? Unfixed bug? - # Without this test it gives a KeyError. - print "Missing torrent id:", torrent_id + # The torrent_id does not exist in the dict. + # Could be the clients cache (sessionproxy) isn't up to speed. del status_dict[torrent_id] else: status_dict[torrent_id] = self.torrents[torrent_id].get_status(torrent_keys, diff) |