Author: andar

Revision: 6073

Log:
        Fix #1115 not showing usage for the 'debug' command

Diff:
Modified: branches/1.2_RC/ChangeLog
===================================================================
--- branches/1.2_RC/ChangeLog   2010-01-01 22:49:02 UTC (rev 6072)
+++ branches/1.2_RC/ChangeLog   2010-01-02 23:25:45 UTC (rev 6073)
@@ -12,6 +12,9 @@
 ==== GtkUI ====
        * Fix #1104, #735 use path.utf-8 if available
 
+==== Console ====
+       * Fix #1115 not showing usage for the 'debug' command
+
 ==== Windows ====
        * Fix displaying folders in the add torrent dialog
 

Modified: branches/1.2_RC/deluge/ui/console/commands/debug.py
===================================================================
--- branches/1.2_RC/deluge/ui/console/commands/debug.py 2010-01-01 22:49:02 UTC 
(rev 6072)
+++ branches/1.2_RC/deluge/ui/console/commands/debug.py 2010-01-02 23:25:45 UTC 
(rev 6073)
@@ -51,7 +51,7 @@
         elif state == 'off':
             deluge.log.setLoggerLevel("error")
         else:
-            component.get("ConsoleUI").write("{!error!}%s" % usage)
+            component.get("ConsoleUI").write("{!error!}%s" % self.usage)
 
         return defer.succeed(True)
 

Modified: trunk/deluge/ui/console/commands/debug.py
===================================================================
--- trunk/deluge/ui/console/commands/debug.py   2010-01-01 22:49:02 UTC (rev 
6072)
+++ trunk/deluge/ui/console/commands/debug.py   2010-01-02 23:25:45 UTC (rev 
6073)
@@ -51,7 +51,7 @@
         elif state == 'off':
             deluge.log.setLoggerLevel("error")
         else:
-            component.get("ConsoleUI").write("{!error!}%s" % usage)
+            component.get("ConsoleUI").write("{!error!}%s" % self.usage)
 
         return defer.succeed(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.


Reply via email to