status.py

来自「linux下开源浏览器WebKit的源码,市面上的很多商用浏览器都是移植自Web」· Python 代码 · 共 20 行

PY
20
字号
from buildbot.status import html, mail, wordsweb = html.WebStatus(http_port=8010)allBuildsEmail = mail.MailNotifier(fromaddr="buildbot@webkit.org",                                    extraRecipients=["mark+webkit-builds@bdash.net.nz"],                                    sendToInterestedUsers=False)breakageEmail = mail.MailNotifier(fromaddr="buildbot@webkit.org",                                  lookup=mail.Domain("webkit.org"),                                  mode="failing")IRC = words.IRC(host="irc.freenode.net",                nick="webkit-build",                channels=["#webkit-build"],#                announceAllBuilds=True                )def getStatusListeners():    return [web, allBuildsEmail, IRC]

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?