From: duplo Date: Thu, 23 Apr 2009 07:43:29 +0000 (+0000) Subject: Don't use __all__ in the Wizard code X-Git-Tag: 2.1.0~40 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=6975a8c353f62b48aac3f3bc02cc3f19cdebc776;p=bertos.git Don't use __all__ in the Wizard code git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2642 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/BOutputPage.py b/wizard/BOutputPage.py index 72c32f5c..e4ba0162 100644 --- a/wizard/BOutputPage.py +++ b/wizard/BOutputPage.py @@ -85,7 +85,7 @@ class BOutputPage(BWizardPage): """ Returns the list of the available plugins. """ - return plugins.__all__ + return plugins.plugin_list def createNewOutput(self, name, description, checked=True, enabled=True): """ diff --git a/wizard/plugins/__init__.py b/wizard/plugins/__init__.py index bf4d738b..21887ccb 100644 --- a/wizard/plugins/__init__.py +++ b/wizard/plugins/__init__.py @@ -11,3 +11,5 @@ import codelite __all__ = ["codelite"] + +plugin_list = ["codelite"]