Changeset 368613
- Timestamp:
- 01/19/2010 11:00:48 PM (15 years ago)
- Children:
- 445096
- Parents:
- 4af387
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r4af387 r368613 2 2 ==== GtkUI ==== 3 3 * Fix #1128 Show an error dialog when unable to start a 'deluged' process 4 4 5 ==== Console ==== 6 * Fix hanging when using commands from the command-line 7 5 8 === Deluge 1.2.0 - "Bursting like an infected kidney" (10 January 2010) === 6 9 ==== Core ==== -
deluge/ui/console/commands/plugin.py
r4af387 r368613 70 70 self.console.write("{!input!} " + p) 71 71 72 client.core.get_available_plugins().addCallback(on_available_plugins)72 return client.core.get_available_plugins().addCallback(on_available_plugins) 73 73 74 74 if options["show"]: … … 78 78 self.console.write("{!input!} " + p) 79 79 80 client.core.get_enabled_plugins().addCallback(on_enabled_plugins)80 return client.core.get_enabled_plugins().addCallback(on_enabled_plugins) 81 81 82 82 if options["enable"]: … … 91 91 client.core.enable_plugin(plugins[arg.lower()]) 92 92 93 client.core.get_available_plugins().addCallback(on_available_plugins)93 return client.core.get_available_plugins().addCallback(on_available_plugins) 94 94 95 95 if options["disable"]: … … 104 104 client.core.disable_plugin(plugins[arg.lower()]) 105 105 106 client.core.get_enabled_plugins().addCallback(on_enabled_plugins)106 return client.core.get_enabled_plugins().addCallback(on_enabled_plugins) -
deluge/ui/console/main.py
r4af387 r368613 171 171 # allow multiple commands split by ";" 172 172 for arg in args.split(";"): 173 deferreds.append( self.do_command(arg.strip()))173 deferreds.append(defer.maybeDeferred(self.do_command, arg.strip())) 174 174 175 175 def on_complete(result):
Note:
See TracChangeset
for help on using the changeset viewer.