Commit f82b2150 authored by Marco Castelluccio's avatar Marco Castelluccio
Browse files

Bug 1823662 - Call bugbug's push_schedules with params['project'] everywhere. r=ahal DONTBUILD

parent 2acc89f2
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@

from collections import defaultdict
from fnmatch import fnmatch
from urllib.parse import urlsplit

from taskgraph.optimize.base import OptimizationStrategy, register_strategy, registry

@@ -121,7 +120,6 @@ class BugBugPushSchedules(OptimizationStrategy):

        current_push_id = int(params["pushlog_id"])

        branch = urlsplit(params["head_repository"]).path.strip("/")
        rev = params["head_rev"]

        if self.timedout:
@@ -142,7 +140,7 @@ class BugBugPushSchedules(OptimizationStrategy):
                rev = push_data[push_id]["changesets"][-1]

            try:
                new_data = push_schedules(branch, rev)
                new_data = push_schedules(params["project"], rev)
                merge_bugbug_replies(data, new_data)
            except BugbugTimeoutException:
                if not self.fallback: