diff --git a/sync/downstream.py b/sync/downstream.py index c73d5e9bc..845c1a924 100644 --- a/sync/downstream.py +++ b/sync/downstream.py @@ -848,7 +848,7 @@ def unlanded_commits_same_files(self): # merged and if so what the merge commit was, although in that # case we would still not know the commit prior to merge, which # is what we need - if commit.pr() == str(self.pr): + if commit.pr() == self.pr: break commits.append(commit) return commits