Module: deluge Branch: chunked-sessionproxy-and-gtkui-speedups Commit: a06b3508588d7dc9ed88c9c263ff138349ff6383
Author: Pedro Algarvio <pe...@algarvio.me> Date: Fri May 6 19:08:23 2011 +0100 Correct log message. --- deluge/core/torrentmanager.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py index a59a742..9e1fec2 100644 --- a/deluge/core/torrentmanager.py +++ b/deluge/core/torrentmanager.py @@ -500,10 +500,10 @@ class TorrentManager(component.Component): component.get("EventManager").emit( TorrentAddedEvent(torrent.torrent_id, from_state) ) - log.info("Torrent %s %s by user: %s", + log.info("Torrent %s from user \"%s\" %s", torrent.get_status(["name"])["name"], - (from_state and "added" or "loaded"), - component.get("RPCServer").get_session_user()) + torrent.get_status(["owner"])["owner"], + (from_state and "added" or "loaded")) return torrent.torrent_id def load_torrent(self, torrent_id): -- You received this message because you are subscribed to the Google Groups "deluge-commit" group. To post to this group, send email to deluge-commit@googlegroups.com. To unsubscribe from this group, send email to deluge-commit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/deluge-commit?hl=en.