def handler_rev(json, data): push = json['pushdate'][0] push = datetime.datetime.utcfromtimestamp(push) push = lmdutils.as_utc(push) data['date'] = lmdutils.get_date_str(push) data['backedout'] = utils.is_backout(json) m = BUG_PAT.search(json['desc']) if not m or m.group(1) != data['bugid']: data['bugid'] = ''
def handler_rev(json, data): push = json["pushdate"][0] push = datetime.datetime.utcfromtimestamp(push) push = lmdutils.as_utc(push) data["date"] = lmdutils.get_date_str(push) data["backedout"] = utils.is_backout(json) m = BUG_PAT.search(json["desc"]) if not m or m.group(1) != data["bugid"]: data["bugid"] = ""
def handler_rev(json, data): push = json['pushdate'][0] push = datetime.datetime.utcfromtimestamp(push) push = lmdutils.as_utc(push) data['date'] = lmdutils.get_date_str(push) data['backedout'] = utils.is_backout(json) m = BUG_PAT.search(json['desc']) if not m or m.group(1) != data['bugid']: data['bugid'] = ''
def handler_rev(bugid, json, data): if bugid in json["desc"] and not utils.is_backout(json): user = json["user"] if bugid not in data: data[bugid] = set() m = HG_MAIL.match(user) if m: hgname = m.group(1).strip() hgmail = m.group(2).strip() data[bugid].add((hgname, hgmail))
def handler_rev(bugid, json, data): if bugid in json['desc'] and not utils.is_backout(json): user = json['user'] if bugid not in data: data[bugid] = set() m = HG_MAIL.match(user) if m: hgname = m.group(1).strip() hgmail = m.group(2).strip() data[bugid].add((hgname, hgmail))