def debugclient(config): from buildbot.clients import debug master = config.get('master') if master is None: raise usage.UsageError("master must be specified: on the command " "line or in ~/.buildbot/options") passwd = config.get('passwd') if passwd is None: raise usage.UsageError("passwd must be specified: on the command " "line or in ~/.buildbot/options") d = debug.DebugWidget(master, passwd) d.run()
def debugclient(config): from buildbot.clients import debug d = debug.DebugWidget(config['master'], config['passwd']) d.run() return 0