| Home | Trees | Indices | Help |
|---|
|
|
1 import web 2 3 from decorators import i18n6 @i18n208 enable_plugins = web.ctx.plugin_manager.enable_plugin(plugin_to_enable) 9 # If there isn't new enabled plugins 10 if not enable_plugins: 11 raise web.seeother('/pluginmanager') 12 13 plugins_name = (p.name for p in enable_plugins) 14 string_name = ', '.join(plugins_name) 15 16 web.ctx.notify(_('The next plugins has been enabled: %s' 17 % string_name), 'notification') 18 19 raise web.seeother('/pluginmanager')
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 4 09:57:34 2010 | http://epydoc.sourceforge.net |