Skip to content

Commit 266b235

Browse files
committed
Tweak code comments around branch decision tree
1 parent 4a6152d commit 266b235

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ def get_deletable_branches(self, last_commit_age_days: int, ignore_branches: lis
5050
print(f'Ignoring branch `{branch_name}` because it is on the list of ignored branches')
5151
continue
5252

53-
# Move on if commit is in an open pull request or branch is base for a pull request
53+
# Move on if commit is in an open pull request
5454
if self.has_open_pulls(commit_hash=commit_hash):
5555
print(f'Ignoring branch `{branch_name}` because it has open pulls')
5656
continue
5757

58-
# Move on if commit is in an open pull request or branch is base for a pull request
58+
# Move on if branch is base for a pull request
5959
if self.is_pull_request_base(branch=branch_name):
6060
print(f'Ignoring branch `{branch_name}` because it is the base for a pull request of another branch')
6161
continue

0 commit comments

Comments
 (0)