Author: andar

Revision: 5631

Log:
        Have the console command 'info' display all torrents info when no 
argument is given

Diff:
Modified: trunk/deluge/ui/console/commands/info.py
===================================================================
--- trunk/deluge/ui/console/commands/info.py    2009-08-06 19:03:08 UTC (rev 
5630)
+++ trunk/deluge/ui/console/commands/info.py    2009-08-06 20:15:52 UTC (rev 
5631)
@@ -110,6 +110,9 @@
         for arg in args:
             torrent_ids.extend(self.console.match_torrent(arg))
 
+        if not args:
+            torrent_ids.extend(self.console.match_torrent(""))
+            
         def on_torrents_status(status):
             # Print out the information for each torrent
             for key, value in status.items():



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to