diff options
Diffstat (limited to 'becommands/__init__.py')
-rw-r--r-- | becommands/__init__.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/becommands/__init__.py b/becommands/__init__.py index e69de29..6b07378 100644 --- a/becommands/__init__.py +++ b/becommands/__init__.py @@ -0,0 +1,15 @@ +"Command plugins for the BugsEverywhere be script." + +__all__ = ["set_root", "set", "new", "remove", "list", "show", "close", "open", + "assign", "severity", "status", "target", "comment", "diff", + "upgrade", "help"] + +def import_all(): + for i in __all__: + name = __name__ + "." + i + try: + __import__(name, globals(), locals(), []) + except ImportError: + print "Import of %s failed!" % (name,) + +import_all() |