Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: third_party/buildbot_7_12/buildbot/slave/registry.py

Issue 12207158: Bye bye buildbot 0.7.12. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1
2 commandRegistry = {}
3
4 def registerSlaveCommand(name, factory, version):
5 """
6 Register a slave command with the registry, making it available in slaves.
7
8 @type name: string
9 @param name: name under which the slave command will be registered; used
10 for L{buildbot.slave.bot.SlaveBuilder.remote_startCommand}
11
12 @type factory: L{buildbot.slave.commands.Command}
13 @type version: string
14 @param version: version string of the factory code
15 """
16 assert not commandRegistry.has_key(name)
17 commandRegistry[name] = (factory, version)
OLDNEW
« no previous file with comments | « third_party/buildbot_7_12/buildbot/slave/interfaces.py ('k') | third_party/buildbot_7_12/buildbot/sourcestamp.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698