Mercurial > bitten > bitten-test
changeset 653:166e1d272623
0.6dev: Splitting the `IEnvironmentSetupParticipant` into its own class to make it easier to keep Bitten database updated across multi-project installs without further Bitten-releated components enabled.
Related to #273.
author | osimons |
---|---|
date | Tue, 25 Aug 2009 06:42:30 +0000 |
parents | de04ce69da53 |
children | cc1fefd5d814 |
files | bitten/main.py |
diffstat | 1 files changed, 10 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/bitten/main.py +++ b/bitten/main.py @@ -26,13 +26,9 @@ __docformat__ = 'restructuredtext en' -class BuildSystem(Component): +class BuildSetup(Component): - implements(IEnvironmentSetupParticipant, IPermissionRequestor, - IWikiSyntaxProvider, IResourceManager, - ILegacyAttachmentPolicyDelegate) - - listeners = ExtensionPoint(IBuildListener) + implements(IEnvironmentSetupParticipant) # IEnvironmentSetupParticipant methods @@ -81,6 +77,14 @@ self.log.info('Upgraded Bitten tables from version %d to %d', current_version, schema_version) +class BuildSystem(Component): + + implements(IPermissionRequestor, + IWikiSyntaxProvider, IResourceManager, + ILegacyAttachmentPolicyDelegate) + + listeners = ExtensionPoint(IBuildListener) + # IPermissionRequestor methods def get_permission_actions(self):