Skip to content

Commit

Permalink
be explicit about wildcard import
Browse files Browse the repository at this point in the history
* this allows to inject them into configuration file and access necessary bits
  in a bit shorter way
  • Loading branch information
Mikhail Sobolev committed Aug 14, 2014
1 parent 272ca20 commit dcda4b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions master/buildbot/plugins/__init__.py
Expand Up @@ -22,6 +22,9 @@
from buildbot.interfaces import IChangeSource
from buildbot.interfaces import IScheduler


__all__ = ['changes', 'schedulers', 'buildslave']

# Names here match the names of the corresponding Buildbot module, hence
# 'changes', 'schedulers', but 'buildslave'
changes = get_plugins('change_source', IChangeSource)
Expand Down

0 comments on commit dcda4b7

Please sign in to comment.