[Trac-tickets] Re: [The Trac Project] #1051: centralized trac.ini
The Trac Project
noreply at edgewall.com
Mon Oct 3 23:13:59 CDT 2005
#1051: centralized trac.ini
---------------------------------+------------------------------------------
Reporter: Manuzhai | Owner: mgood
Type: enhancement | Status: assigned
Priority: low | Milestone:
Component: mod_python frontend | Version: 0.8
Severity: normal | Resolution:
Keywords: |
---------------------------------+------------------------------------------
Comment (by trac-form at swapoff.org):
WebAdmin needs to be updated with the following patch, as removing the
config element falls back on the site wide default, which may in fact
itself be 'yes'.
{{{
#!diff
Index: webadmin/plugin.py
===================================================================
--- webadmin/plugin.py (revision 2326)
+++ webadmin/plugin.py (working copy)
@@ -135,7 +135,7 @@
if is_enabled:
self.config.set('disabled_components', component,
'yes')
else:
- self.config.remove('disabled_components', component)
+ self.config.set('disabled_components', component,
'no')
self.log.info('%sabling component %s',
is_enabled and 'Dis' or 'En', component)
changes = True
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/1051>
The Trac Project <http://trac.edgewall.com/>
More information about the Trac-Tickets
mailing list