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
def __init__(self, host=default_host): self.set_host(host) self.browser = Browser()