コード例 #1
0
ファイル: bugzilla.py プロジェクト: explorer-ading/axSurface
    def __init__(self, dryrun=False, committers=CommitterList()):
        self.dryrun = dryrun
        self.authenticated = False
        self.queries = BugzillaQueries(self)

        # FIXME: We should use some sort of Browser mock object when in dryrun mode (to prevent any mistakes).
        self.browser = Browser()
        # Ignore bugs.webkit.org/robots.txt until we fix it to allow this script
        self.browser.set_handle_robots(False)
        self.committers = committers
コード例 #2
0
ファイル: statusbot.py プロジェクト: explorer-ading/axSurface
 def __init__(self, host=default_host):
     self.set_host(host)
     self.browser = Browser()